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, toStringpublic long index()
Odometerpublic long totalSize()
Odometerpublic long[] getIndices()
OdometergetIndices in class Odometerpublic boolean hasNext()
public java.lang.Long next()