flatMapIndexedTo

inline fun <R, C : MutableCollection<in R>> ComplexFloatArray.flatMapIndexedTo(destination: C, transform: (index: Int, ComplexFloat) -> Iterable<R>): C
inline fun <R, C : MutableCollection<in R>> ComplexDoubleArray.flatMapIndexedTo(destination: C, transform: (index: Int, ComplexDouble) -> Iterable<R>): C

Appends all elements yielded from results of transform function being invoked on each element and its index in the original array, to the given destination.