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