slice

fun ComplexFloatArray.slice(indices: IntRange): List<ComplexFloat>
fun ComplexDoubleArray.slice(indices: IntRange): List<ComplexDouble>

Returns a list containing elements at indices in the specified indices range.


fun ComplexFloatArray.slice(indices: Iterable<Int>): List<ComplexFloat>
fun ComplexDoubleArray.slice(indices: Iterable<Int>): List<ComplexDouble>

Returns a list containing elements at specified indices.