| Constructor and Description |
|---|
IndicesRange(DoubleMatrix is)
Initialize from DoubleMatrix.
|
IndicesRange(int[] is)
Initialize from integer array.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMore()
More indices available?
|
int |
index()
Consecutive numbering of current index.
|
void |
init(int l,
int u)
Initialize Range to available indices
|
int |
length()
Total number of indices.
|
void |
next()
Increase counter.
|
int |
value()
Get current index.
|
public IndicesRange(int[] is)
public IndicesRange(DoubleMatrix is)
public void init(int l,
int u)
Rangepublic int length()
Rangepublic void next()
Rangepublic int index()
Rangepublic int value()
RangeCopyright © 2015. All rights reserved.