public final class DataSeries extends PrimitiveSeries
Access1D.Aggregatable<N extends Number>, Access1D.Collectable<N extends Number,R extends Mutate1D.Receiver<N>>, Access1D.Elements, Access1D.ElementView<N extends Number>, Access1D.IndexOf, Access1D.Sliceable<N extends Number>, Access1D.Visitable<N extends Number>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,?>>, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier and Type | Method and Description |
---|---|
static DataSeries |
copy(Access1D<?> template) |
static DataSeries |
copy(double[] template) |
void |
modify(BinaryFunction<Double> func,
double right) |
void |
modify(double left,
BinaryFunction<Double> func) |
void |
modify(ParameterFunction<Double> func,
int param) |
void |
modify(UnaryFunction<Double> func) |
int |
size() |
double |
value(int index) |
void |
visit(AggregatorFunction<Double> visitor) |
static DataSeries |
wrap(double[] raw) |
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, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCollectable1D, asPrimitive1D, axpy, byteValue, dot, elements, equals, floatValue, hashCode, intValue, longValue, nonzeros, shortValue, supplyTo, toRawCopy1D, toString, wrap, wrap
index, loopAll, loopMatching, loopRange, mapper
public static DataSeries copy(Access1D<?> template)
public static DataSeries copy(double[] template)
public static DataSeries wrap(double[] raw)
public void modify(BinaryFunction<Double> func, double right)
public void modify(double left, BinaryFunction<Double> func)
public void modify(ParameterFunction<Double> func, int param)
public void modify(UnaryFunction<Double> func)
public int size()
size
in interface Structure1D
size
in class PrimitiveSeries
public double value(int index)
value
in class PrimitiveSeries
public void visit(AggregatorFunction<Double> visitor)
Copyright © 2019 Optimatika. All rights reserved.