Please, if anyone knows how to reverse a scale in jit.expr. I am trying to reverse a short matrix with 2d xy coordinates for a 640x480 pixels to have 3d xy coordinates which are -1. 1. for both x and y (with the center as 0.).
I did the first part for the x coordinate where 0 becomes -1. and 640 becomes 1. But for the y value, 0 is 1. and 480 is -1.
So I would need an expresion for jit.expr to turn a (-1. 1) matrix the other way around (1. -1.)