| 构造器 | 说明 |
|---|---|
Index5D(int[] shape) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Object |
clone() |
|
int |
currentElement() |
Get the current element's index into the 1D backing array.
|
int[] |
getCurrentCounter() |
Get the current counter.
|
int |
incr() |
Increment the current element by 1.
|
protected void |
precalc() |
subclass specialization/optimization calculations
|
Index |
set(int[] index) |
Set the current element's index.
|
Index |
set(int v0,
int v1,
int v2,
int v3,
int v4) |
set current element at dimension 0,1,2,3,4 to v0,v1,v2,v3,v4
|
Index |
set0(int v) |
set current element at dimension 0 to v
|
Index |
set1(int v) |
set current element at dimension 1 to v
|
Index |
set2(int v) |
set current element at dimension 2 to v
|
Index |
set3(int v) |
set current element at dimension 3 to v
|
Index |
set4(int v) |
set current element at dimension 4 to v
|
void |
setDim(int dim,
int value) |
set current element at dimension dim to v
|
String |
toString() |
computeSize, factory, getRank, getShape, getShape, getSize, isFastIterator, set, set, set, set, set, set, set5, set6, setCurrentCounter, toStringDebugprotected void precalc()
Indexpublic int[] getCurrentCounter()
IndexgetCurrentCounter 在类中 Indexpublic int currentElement()
IndexcurrentElement 在类中 Indexpublic int incr()
Indexpublic void setDim(int dim,
int value)
Indexpublic Index set(int[] index)
Indexpublic Index set(int v0, int v1, int v2, int v3, int v4)
IndexCopyright © 2019. All rights reserved.