Am 24.11.2017 um 23:49 schrieb Sven Schreiber:
Am 24.11.2017 um 23:29 schrieb Allin Cottrell:
> Anyway, my particular need for this function has passed but I was
> wondering if others would find it useful. If so I can add it to git,
> if not I'll quietly retire it.
Dear Allin, I like the idea! Personally I like everything related to the
work with arrays as I am a big fan of multidimensional matrices (e.g. 3d
cubes) when working with Matlab. The flatten() command is something
similar as Matlab's squeeze() I guess.
First, since the reason is speed, then I guess it would be natural to
have the converse as an internal function as well: something like
"mat2array" which takes a big matrix and puts equal-sized chunks in
array elements.
Definitely nice to have.
Best,
Artur