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.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, sample, subtract, subtract, toDataSeries, toString, values, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCollectable1D, asPrimitive1D, axpy, dot, elements, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
loopAll, loopMatching, loopRange, mapper
forEach, spliterator
public static DataSeries copy(Access1D<?> template)
public static DataSeries copy(double[] template)
public static DataSeries wrap(double[] raw)
public final void modify(BinaryFunction<Double> func, double right)
public final void modify(double left, BinaryFunction<Double> func)
public final void modify(ParameterFunction<Double> func, int param)
public final void modify(UnaryFunction<Double> func)
public final int size()
size
in class PrimitiveSeries
public final double value(int index)
value
in class PrimitiveSeries
public final void visit(AggregatorFunction<Double> visitor)
Copyright © 2018 Optimatika. All rights reserved.