Index of maximum value in a jitter matrix
Is there a simple object that will output the coordinate of the maximum value in a matrix? jit.3m tells me what the maximum value is, but not where it happens. I imagine I can build a patch to do it, but it seems like a task that would have a dedicated object. Am I missing something?
This is what I'm using right now. It gets the job done, but I would really like to avoid using jit.iter.
Hello,
I don't know if it is possible without [jit.iter] nor if there is any dedicated object for that, probably senior members could tell us.
For the moment I do that this way (see below)
It gives you the cell which has the bigger value.
Hi skrasms and Kyred,
Wesley's great 3rd party object, xray.jit.cellcoords, will help you keep this stuff in Jitter-land.
best,
Zachary