On Mon, 8 Jul 2019, Allin Cottrell wrote:
The way mshape() works currently there isn't a "necessary
number of
columns" [...]
But if you want to ensure that no elements are repeated or discarded
via mshape, you can do
Xs = mshape(X, r, nelem(X)/r)
That will give an error if nelem(X)/r is not an integer.
Allin