public final class NDIndexFullPick
extends java.lang.Object
NDIndex
.Modifier and Type | Method and Description |
---|---|
static java.util.Optional<NDIndexFullPick> |
fromIndex(NDIndex index,
Shape target)
Returns (if possible) the
NDIndexFullPick representation of an NDIndex . |
int |
getAxis()
Returns the axis to pick.
|
NDArray |
getIndices()
Returns the indices to pick.
|
public static java.util.Optional<NDIndexFullPick> fromIndex(NDIndex index, Shape target)
NDIndexFullPick
representation of an NDIndex
.index
- the index to representtarget
- the shape of the array to indexpublic NDArray getIndices()
public int getAxis()