complex

inline fun Buffer.Companion.complex(size: Int, init: (Int) -> Complex): Buffer<Complex>
inline fun MutableBuffer.Companion.complex(size: Int, init: (Int) -> Complex): MutableBuffer<Complex>

Creates a new buffer of complex numbers with the specified size, where each element is calculated by calling the specified init function.