I can get the index of the maximum value easily, first getting the
maximum and then getting the index:

   I.@(=>./) ?. 30$100
9

Suppose, there is one presence of maximum value in the data.

However, the solution isn't satisfactory to me. Is there a simple
single step way of finding the index of the max? That is, the way
where you don't need to scan the data twice(once for max, another for
index).
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to