public class Index extends Object
| Modifier and Type | Field and Description |
|---|---|
long[] |
dimsizes |
long[] |
indices |
int |
rank |
static Index |
SCALAR |
| Constructor and Description |
|---|
Index(Index index) |
Index(int rank) |
Index(long[] indices,
long[] dimsizes) |
| Modifier and Type | Method and Description |
|---|---|
long |
get(int i) |
int |
getRank() |
long |
getSize(int i) |
long |
index()
Compute the linear index
from the current odometer indices.
|
boolean |
isScalar() |
String |
toString() |