LinearAlgebra implements Symmetric, which returns a mirrored view of the upper/lower triangle of a matrix.
If I wanted to do something more simple and generic, is it possible using view()
or manipulation of ::SubArray
?
For instance, if I have a 3x3 parent Array, could I generate a 2D subarray view of dimensions 9x9 that displays the parent array tiled 3 times vertical/horizontally?
Applying repeat()
to a SubArray returns a collected version of the view (i.e. allocates), but it represents the type of transform I am thinking of. e.g. repeat(array, outer=(3,3)) => SubArray