Convert matrix to float


    Oct 19 2006 | 12:47 am
    Hi There,
    I have a matrix from a jit.histogram object and want to multiply all the values in that matrix by a float, say 0.65 When I use jit.op to do this I get integer math. I know this is a dumb question... just need to find the type converter object and for some reason I'm not seeing it.
    thanks, d_s
    patch:

    • Oct 19 2006 | 12:54 am
      Nevermind... figured it out. Pipe the histogram output into a matrix of type float32.