Class DataSeries
java.lang.Object
org.ojalgo.series.primitive.PrimitiveSeries
org.ojalgo.series.primitive.DataSeries
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataSeriescopy(double[] template) static DataSeriesvoidmodify(double left, BinaryFunction<Double> func) voidmodify(BinaryFunction<Double> func, double right) voidmodify(ParameterFunction<Double> func, int param) voidmodify(UnaryFunction<Double> func) intsize()The total number of elements in this structure.doublevalue(int index) voidvisit(AggregatorFunction<Double> visitor) static DataSerieswrap(double[] raw) Methods inherited from class PrimitiveSeries
add, add, 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
-
myValues
-
-
Constructor Details
-
DataSeries
-
-
Method Details
-
copy
-
copy
-
wrap
-
modify
-
modify
-
modify
-
modify
-
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
-
visit
-