I have a multiplane matrix which is being filled data one row at a time using jit.fill and an offset command.
I want to resize the matrix on the fly, taking its dimensions from say 1x100 to 1x10.
When i send the matrix a "dim 1 $1" command the matrix is resized correctly but all the data is deleted.
Is there a way to resize the matrix but keep all the data intact? I thought i might be overlooking an easy command?
Otherwise I guess i'll have to keep a 2nd copy of the matrix, resize the 1st matrix then refill it with the data from the second matrix? How does this sound?
Look forward to hearing some opinions,