api / koma / max

max

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

Returns the max element in the input matrix

Parameters

arr - An arbitrarily sized matrix

Return The maximum value

fun max(num1:Double, num2:Double):Double fun max(num1:Int, num2:Int):Int fun max(num1:Double, num2:Int):Double fun max(num1:Int, num2:Double):Double

A convenience function performing the max operation via the kotlin.math equivalent call.