How to get array of coverpoints

In reply to dave_59:

The tool we’re using doesn’t support array of covergroups :). I also felt it’s easier to look at coverage results if the coverage of the whole array is in one covergroup as opposed to looking at an array of covergroups. I’m just trying to write coverage for a multidimensional array and I’m trying to avoid typing all the entries of the array.