scale values for every cell in matrix?

    Mar 15 2016 | 9:56 am
    is there an easy way to scale every value in a matrix? I mean just like the scale object, which allows me to set an low and high input and a low and high output. i.e. take all matrix cell values from 205 to 255 and scale them from 127 to 255.
    The jit.scalebias doesn't do this, and I can't seem to figure out how to scale like that using jit.op
    any ideas? I've considered using jit.spill and a several [scale] objects, but that seems like a tedious solution.

    • Mar 17 2016 | 7:23 pm
      jit.gen and the scale operator
    • Mar 18 2016 | 5:50 am
      thanks, Rob!