public final class NDIndexFullSlice
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<NDIndexFullSlice> |
fromIndex(NDIndex index,
Shape target)
Returns (if possible) the
NDIndexFullSlice representation of an NDIndex. |
long[] |
getMax()
Returns the slice max for each axis.
|
long[] |
getMin()
Returns the slice min for each axis.
|
Shape |
getShape()
Returns the slice shape without squeezing.
|
Shape |
getSqueezedShape()
Returns the slice shape with squeezing.
|
long[] |
getStep()
Returns the slice step for each axis.
|
int[] |
getToSqueeze()
Returns the squeeze array of axis.
|
public static java.util.Optional<NDIndexFullSlice> fromIndex(NDIndex index, Shape target)
NDIndexFullSlice representation of an NDIndex.index - the index to representtarget - the shape of the array to indexpublic long[] getMin()
public long[] getMax()
public long[] getStep()
public int[] getToSqueeze()
public Shape getShape()
public Shape getSqueezedShape()