max

open fun max(): Double

Returns the maximum element in the array.

Return

the maximum element