Package org.ojalgo.series.primitive
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 org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends Comparable<N>>, Access1D.Collectable<N extends Comparable<N>,
R extends Mutate1D>, Access1D.ElementView<N extends Comparable<N>>, Access1D.SelectionView<N extends Comparable<N>>, Access1D.Sliceable<N extends Comparable<N>>, Access1D.Visitable<N extends Comparable<N>> Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,
B extends Structure1D.Logical<S, B>>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataSeries
copy
(double[] template) static DataSeries
void
modify
(double left, BinaryFunction<Double> func) void
modify
(BinaryFunction<Double> func, double right) void
modify
(ParameterFunction<Double> func, int param) void
modify
(UnaryFunction<Double> func) int
size()
The total number of elements in this structure.double
value
(int index) void
visit
(AggregatorFunction<Double> visitor) static DataSeries
wrap
(double[] raw) Methods inherited from class org.ojalgo.series.primitive.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, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toRawCopy1D
-
Field Details
-
myValues
-
-
Constructor Details
-
DataSeries
-
-
Method Details
-
copy
-
copy
-
wrap
-
modify
-
modify
-
modify
-
modify
-
size
public int size()Description copied from interface:Structure1D
The total number of elements in this structure.- Specified by:
size
in interfaceStructure1D
- Specified by:
size
in classPrimitiveSeries
-
value
public double value(int index) - Specified by:
value
in classPrimitiveSeries
-
visit
-