onEach

inline fun ComplexFloatArray.onEach(action: (ComplexFloat) -> Unit): ComplexFloatArray
inline fun ComplexDoubleArray.onEach(action: (ComplexDouble) -> Unit): ComplexDoubleArray

Performs the given action on each element and returns the array itself afterwards.