first
Returns first element.
Throws
if the array is empty.
inline fun ComplexFloatArray.first(predicate: (ComplexFloat) -> Boolean): ComplexFloat
Content copied to clipboard
inline fun ComplexDoubleArray.first(predicate: (ComplexDouble) -> Boolean): ComplexDouble
Content copied to clipboard
Returns the first element matching the given predicate.
Throws
if no such element is found.