copyOfRange

inline fun ComplexFloatArray.copyOfRange(fromIndex: Int, toIndex: Int): ComplexFloatArray
inline fun ComplexDoubleArray.copyOfRange(fromIndex: Int, toIndex: Int): ComplexDoubleArray

Returns a new array which is a copy of the specified range of the original array.

Parameters

fromIndex

the start of the range (inclusive) to copy.

toIndex

the end of the range (exclusive) to copy.

Throws

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