slice

abstract fun slice(from: Int, to: Int, step: Int = 1, axis: Int = 0): F64Array

Slices the array along the specified axis.

Return

a slice of the array along the specified axis

Parameters

from

the starting index

to

the ending index

step

the step size

axis

the axis to slice along