filling single plane with constant value in jit.matrix
Hi all,
Curious if there was a straightforward way to fill a mutiplane, multidim jit.matrix with a constant value. For example, I have a "jit.matrix 14 float32 1000 1000". I would like to fill all the cells in plane 12 with the value 12.3. Possible without iterating thru a bunch of jit.fill's?
Thank you in advance for any pointers!
David
Still trying to figure this out. Is it possible to replace/overwrite a specified plane in a multi-plane matrix? It would be straightforward to create a separate single plane matrix of the same size and fill it with one value (e.g., "setall 12.3" >> jit.matrix 1 float32 1000 1000). Is it possible to then replace say plane 10 if a "jit.matrix 14 float32 1000 1000" with this new plane?
Thanks again for advice!
David
OK, I think I figured it out:
Looks like you are looking for the "fillplane" message