api / koma / mean

mean

fun mean(arr:Matrix<Double>):Double

Returns the mean element in the input matrix

Parameters

arr - An arbitrarily sized matrix

Return The maximum value