Operations between rows and columns of a matrix
Hi
I would like to creat a 2d matrix by combining 2 different 1d Matrix given by a jit.catch~ (for exemple).
I have tried jit.expr but as far as tried, it onely allows me to manipulate planes.
jit.dimmap gives results but it always adapts to the incomming matrix enven if "adapt" is turned on 0.
Is it possible to invert a matrix, like turning a 5x1 matrix to a 1x5 matrix? or to multiply 2 of such matrix to have a 5x5 matrix?
Thanks for helping
Bye
Nicolas
Sounds like a job for [jit.scanwrap] and [jit.concat]
Thanks! scanwarp was what I needed.
Well, the 5x1 is turned ti 1x5.
but the point is I would like to creat a 5x5 with this.
I used matrices to adapt, but I was wondering if the was a better way to do.
To repeat the values? [jit.matrix] is the easiest way.
Hello I wonder if there are math processes that can be applied to matrices like multiplication or sum, the problem is when the sizes are different... I cant find them...
Take a look at jit.op - using this with jit.matrix to resize as needed you should be able to do most of what you need. jit.expr can also be used in more complex cases, to simplify your desired operations into a single expression rather than chaining together multiple jit.op objects.