maxOfOrNull

inline fun <R : Comparable<R>> ComplexFloatArray.maxOfOrNull(selector: (ComplexFloat) -> R): R?
inline fun <R : Comparable<R>> ComplexDoubleArray.maxOfOrNull(selector: (ComplexDouble) -> R): R?

Returns the largest value among all values produced by selector function applied to each element in the array or null if there are no elements.