Package org.jblas.ranges
Class RangeUtils
java.lang.Object
org.jblas.ranges.RangeUtils
A bunch of static functions for making construction of ranges more
uniform. Basically, we have
- point(3) - a PointRange.
- indices(new int[] {1,2,3,...}) - a Indices Range.
- interval(1, 2) - an interval range.
- all() - an AllRange.
- indices(x) - with a DoubleMatrix.
- find(x) - an index constructed from the non-zero elements of x.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RangeUtils
public RangeUtils()
-
-
Method Details
-
point
Construct point range (constant range) with given index. -
indices
-
interval
-
all
-
indices
-
find
-