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)
Range
public int length()
Range
public void next()
Range
public int index()
Range
public int value()
Range
Copyright © 2015. All rights reserved.