Class IndicesRange
java.lang.Object
org.jblas.ranges.IndicesRange
- All Implemented Interfaces:
Range
Range which varies over pre-specified indices.
For example,
int[] indices = new int[] { 1, 1, 2, 3, 5, 8, 13 };
Range r = new IndicesRange(indices);
ranges over the first few Fibonacci numbers.-
Constructor Summary
ConstructorsConstructorDescriptionIndicesRange(int[] is) Initialize from integer array.Initialize from DoubleMatrix. -
Method Summary
-
Constructor Details
-
IndicesRange
Initialize from integer array. -
IndicesRange
Initialize from DoubleMatrix. Entries are converted to integers by truncation.
-
-
Method Details
-
init
-
length
-
next
-
index
-
value
-
hasMore
-