Easy Question: Re-ordering jitter matrix dimensions

    Dec 06 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.

    • Dec 06 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.
    • Dec 06 2012 | 5:33 pm
      jit.coerce? Perhaps I am not fully understanding your question....
    • Jan 27 2016 | 2:58 am
      Hey Sam from three years ago. Believe it or not, the answer is jit.scanwrap. Seriously.