minByOrNull

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

Returns the first element yielding the smallest value of the given function or null if there are no elements.