api / koma / argMax

argMax

fun argMax(arr:Matrix<Double>):Int

Returns the index of the max element in the input matrix

Parameters

arr - An arbitrarily sized matrix

Return The maximum value