Calculate maximum of a whole column in a jit.matrix


    Jul 21 2013 | 4:09 pm
    Hello, I'm trying to do something quite simple but cannot find an efficient and fast calculating way of doing it. I have a jit.matrix, 1 plane, dimension 96*96. I want to get the maximum of the values contained in each column of the matrix, to get either a list of 96 numbers, or a 1 plane, 96*1 jit.matrix. I am pretty sure jit.expr might help but cannot figure out how. Iterating with jit.spill is way too heavy for my needs. Any idea ? Thx

    • Jul 21 2013 | 5:33 pm
      jit.submatrix --> jit.3m ?
    • Jul 21 2013 | 5:40 pm
      Yeh, what Rob said. Here's an example.
    • Jul 21 2013 | 7:54 pm
      Thanks much, exactly what I was looking for !
    • Jul 21 2013 | 8:40 pm
      also check jit.dimop:
    • Jul 21 2013 | 8:59 pm
      Even better, thanks !
    • Jul 21 2013 | 9:59 pm
      wow, I spent so much time looking for that object, talk about a wallflower!
    • Jul 22 2013 | 12:32 am
      Yes, thanks for pointing that out, Joshua.