public class ScalarOdometer extends Odometer
Odometer.STATE
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Long |
ZERO |
contiguousdelta, dimset, endpoint, indices, rank, slices, state, usecontiguous
Constructor and Description |
---|
ScalarOdometer() |
Modifier and Type | Method and Description |
---|---|
long[] |
getIndices()
Get the current set of indices
|
boolean |
hasNext() |
long |
index()
Compute the linear index
from the current odometer indices.
|
java.lang.Long |
next() |
void |
remove() |
long |
totalSize()
Compute the total number of elements.
|
factory, getContiguous, isContiguous, reset, toString
public long index()
Odometer
public long totalSize()
Odometer
public long[] getIndices()
Odometer
getIndices
in class Odometer
public boolean hasNext()
public java.lang.Long next()