at

fun at(index: Int): Slice<T, V>(source)

Selects a single index, reducing the dimensionality by 1.

This is equivalent to Python's slice notation [index]. Supports negative indexing where -1 represents the last element.

Return

an At slice descriptor

Parameters

index

the index to select, can be negative