Class DifferencesSeries
java.lang.Object
org.ojalgo.series.primitive.PrimitiveSeries
org.ojalgo.series.primitive.DifferencesSeries
- 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
ConstructorsConstructorDescriptionDifferencesSeries(PrimitiveSeries series) DifferencesSeries(PrimitiveSeries series, int period) -
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
-
myPeriod
private final int myPeriod -
mySeries
-
-
Constructor Details
-
DifferencesSeries
DifferencesSeries(PrimitiveSeries series) -
DifferencesSeries
DifferencesSeries(PrimitiveSeries series, int period)
-
-
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
-