Convert a 1-D Matrix to a 2-D Matrix
I'm trying to record a particle matrix (jit.p.shiva) with jit.qt.record.
I've succesfully converted the 5-plane float32 matrix to a 4-plane char matrix.
But jit.qt.record seems to be limited to a dimension size of 3792 - and I've got 200400.
So, how can I convert a one-dimensional matrix to a two-dimensional matrix?
I've looked at jit.scissors jit.split and jit.multiplex but can't figure out how to do it.
thx in advance,
jan.
not sure if will work for your need, but for dimensional matrix changes theres jit.scanwrap
Thanks Carsol!
jit.scanwrap is exactly what I needed.
It also works for converting 2d back to 1d.