takeWhile

inline fun ComplexFloatArray.takeWhile(predicate: (ComplexFloat) -> Boolean): List<ComplexFloat>
inline fun ComplexDoubleArray.takeWhile(predicate: (ComplexDouble) -> Boolean): List<ComplexDouble>

Returns a list containing first elements satisfying the given predicate.