max

fun <T : Number, D : Dimension> MultiArray<T, D>.max(): T?

Returns the largest element or null if there are no elements.