Change Matrix dimension and plane count inside [jit.gen]
Jan M
Nov 01 2015 | 2:37 pm
Hi genners,
I just started to get my head around [jit.gen] . Do input and output matrices always have the same dimensions and plane count, or ist it possible to to change/re-arrange a matrix.
In my case I am working on small matrices performing trigonometric calculations.
Can I transform an input matrix with one plane and the dimensions 6 x1
to a matrix with two planes and the dimensions 2x1?
The first three cells of the input matrix shall be mapped to the first cell of the output matrix (onto three planes) - and the same for the last three cells of the input matrix to the second cell of the output:
Input:
|--------------------------|
| a | b | c | d | e | f | -> plane 0
|--------------------------|
Output:
|---------|
| a | d | -> plane 0
| b | e | -> plane 1
| c | f | -> plane 2
|---------|
Thanks, Jan