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.Logical<S extends Structure1D,B extends Structure1D.Logical<S,?>>, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier | Constructor and Description |
---|---|
protected |
PrimitiveSeries() |
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, wrap
index, loopAll, loopMatching, loopRange, mapper
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 abstract int size()
size
in interface Structure1D
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 © 2019 Optimatika. All rights reserved.