fill

fun ComplexFloatArray.fill(    element: ComplexFloat,     fromIndex: Int = 0,     toIndex: Int = size)
fun ComplexDoubleArray.fill(    element: ComplexDouble,     fromIndex: Int = 0,     toIndex: Int = size)

Fills this array or its subrange with the specified element value.

Parameters

fromIndex

the start of the range (inclusive) to fill, 0 by default.

toIndex

the end of the range (exclusive) to fill, size of this array by default.

Throws

if fromIndex is less than zero or toIndex is greater than the size of this array.