Forums > Jitter

Easy Question: Re-ordering jitter matrix dimensions

December 6, 2012 | 4:57 pm

Hey guys,

Easy (hopefully) question here: how can I reorder/coerce the dimensions of a Jitter matrix? For example, if I’ve got a 6 by 6 by 6 matrix, how can I get that expressed as a 6 by 36 matrix? I think it could be done with scissors and glue but it wouldn’t scale up to matrices larger than a very small size.

December 6, 2012 | 5:03 pm

One way is with a combination of jit.unpack and jit.matrix with @usedstdim 1 and matching @dstdimstart and @dstdimend coordinates. Don’t forget to use @adapt 0 too.

December 6, 2012 | 5:33 pm

jit.coerce? Perhaps I am not fully understanding your question….

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter