fun <T : Any> delete(arr: KtNDArray<T>, obj: Int, axis: Int? = null): KtNDArray<T>
(source)
Return a new array with sub-arrays along an axis deleted. For a one dimensional array, this returns those entries not returned by arr.get(obj).
axis
- The axis along which to delete the subarray defined by obj. If axis is null, obj is applied to the flattened array.
Return
A copy of arr with the elements specified by obj removed. Note that delete does not occur in-place.
If axis is null, return is a flattened array.
fun <T : Any> delete(arr: KtNDArray<T>, obj: IntArray, axis: Int? = null): KtNDArray<T>
(source)
fun <T : Any> delete(arr: KtNDArray<T>, obj: Array<Slice>, axis: Int? = null): KtNDArray<T>
(source)
obj
- array of Slice.