Class PrunedSeries
java.lang.Object
org.ojalgo.series.primitive.PrimitiveSeries
org.ojalgo.series.primitive.PrunedSeries
- All Implemented Interfaces:
Access1D<Double>, Structure1D
-
Nested Class Summary
Nested classes/interfaces inherited from interface Access1D
Access1D.Aggregatable<N>, Access1D.Collectable<N,R>, Access1D.ElementView<N>, Access1D.SelectionView<N>, Access1D.Sliceable<N>, Access1D.Visitable<N> Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrunedSeries(PrimitiveSeries base) PrunedSeries(PrimitiveSeries base, int shift) -
Method Summary
Methods inherited from class PrimitiveSeries
add, add, copy, copy, count, differences, differences, divide, divide, doubleValue, exp, get, get, log, multiply, multiply, prune, quotients, quotients, runningProduct, runningSum, subtract, subtract, toDataSeries, toString, values, variances, wrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1D
-
Field Details
-
myBase
-
myShift
private final int myShift
-
-
Constructor Details
-
PrunedSeries
PrunedSeries(PrimitiveSeries base) -
PrunedSeries
PrunedSeries(PrimitiveSeries base, int shift)
-
-
Method Details
-
size
public int size()Description copied from interface:Structure1DThe total number of elements in this structure.- Specified by:
sizein interfaceStructure1D- Specified by:
sizein classPrimitiveSeries
-
value
public double value(int index) - Specified by:
valuein classPrimitiveSeries
-