public abstract class PrimitiveSeries extends Object implements Access1D<Double>
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 | Constructor and Description |
---|---|
protected |
PrimitiveSeries() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCollectable1D, asPrimitive1D, axpy, dot, elements, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
loopAll, loopMatching, loopRange, mapper
forEach, spliterator
public static PrimitiveSeries copy(Access1D<?> template)
public static PrimitiveSeries wrap(Access1D<?> base)
public PrimitiveSeries add(double addend)
public PrimitiveSeries add(PrimitiveSeries addend)
public PrimitiveSeries copy()
public long count()
count
in interface Structure1D
public PrimitiveSeries differences()
public PrimitiveSeries differences(int period)
public PrimitiveSeries divide(double divisor)
public PrimitiveSeries divide(PrimitiveSeries divisor)
public final double doubleValue(long index)
doubleValue
in interface Access1D<Double>
public PrimitiveSeries exp()
public final Double get(int index)
public PrimitiveSeries log()
public PrimitiveSeries multiply(double multiplicand)
public PrimitiveSeries multiply(PrimitiveSeries multiplicand)
public PrimitiveSeries prune(int shift)
public PrimitiveSeries quotients()
public PrimitiveSeries quotients(int period)
public PrimitiveSeries runningProduct(double initialValue)
public PrimitiveSeries runningSum(double initialValue)
public PrimitiveSeries sample(int interval)
public abstract int size()
public PrimitiveSeries subtract(double subtrahend)
public PrimitiveSeries subtract(PrimitiveSeries subtrahend)
public final DataSeries toDataSeries()
public abstract double value(int index)
public final double[] values()
Copyright © 2018 Optimatika. All rights reserved.