maxOf

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

Returns the largest value among all values produced by selector function applied to each element in the array.

Throws

if the array is empty.