public class NDIndexPick extends java.lang.Object implements NDIndexElement
NDIndexElement
that gets elements by index in the specified axis.Constructor and Description |
---|
NDIndexPick(NDArray indices)
Constructs a pick.
|
Modifier and Type | Method and Description |
---|---|
NDArray |
getIndices()
Returns the indices to pick.
|
int |
getRank()
Returns the number of dimensions occupied by this index element.
|
public NDIndexPick(NDArray indices)
indices
- the indices to pickpublic int getRank()
NDIndexElement
getRank
in interface NDIndexElement
public NDArray getIndices()