argMax

fun <T : Number, D : Dimension> MultiArray<T, D>.argMax(): Int

Returns flat index of maximum element in an ndarray.

same as Math.argMax