Statistics on random matrices

You can generally apply a function to different slices of a higher dimensional array using mapslices, see e.g. my answer here: Julia: Get range (minimum / maximum values) of a multidimensional array along specific axes - Stack Overflow

3 Likes