max

abstract fun <T : Number, D : Dimension> max(a: MultiArray<T, D>): T

Returns maximum element of the given ndarray.


abstract fun <T : Number, D : Dimension, O : Dimension> max(a: MultiArray<T, D>, axis: Int): NDArray<T, O>

Returns maximum of an ndarray a along a given axis.