public class PrimitivePolynomial extends Object
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
BasicFunction.Differentiable<N extends Number,F extends BasicFunction>, BasicFunction.Integratable<N extends Number,F extends BasicFunction>, BasicFunction.PlainUnary<T,R>
Constructor and Description |
---|
PrimitivePolynomial(int degree) |
Modifier and Type | Method and Description |
---|---|
PolynomialFunction<N> |
buildDerivative() |
PolynomialFunction<N> |
buildPrimitive() |
long |
count() |
int |
degree() |
double |
doubleValue(long power) |
void |
estimate(Access1D<?> x,
Access1D<?> y) |
void |
estimate(List<? extends Number> x,
List<? extends Number> y) |
void |
estimate(NumberSeries<?> samples) |
N |
get(long power) |
protected Double |
getDerivativeFactor(int power) |
protected Double |
getPrimitiveFactor(int power) |
Double |
integrate(Double fromPoint,
Double toPoint) |
double |
invoke(double arg) |
Double |
invoke(Double arg) |
protected org.ojalgo.function.polynomial.AbstractPolynomial<Double> |
makeInstance(int size) |
void |
set(Access1D<?> coefficients) |
void |
set(int power,
double coefficient) |
void |
set(int power,
N coefficient) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, apply, applyAsDouble, compose
identity
andThen, compose, identity
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 void set(Access1D<?> coefficients)
protected Double getDerivativeFactor(int power)
protected Double getPrimitiveFactor(int power)
protected org.ojalgo.function.polynomial.AbstractPolynomial<Double> makeInstance(int size)
public final PolynomialFunction<N> buildDerivative()
buildDerivative
in interface BasicFunction.Differentiable<N extends Number,PolynomialFunction<N extends Number>>
public final PolynomialFunction<N> buildPrimitive()
buildPrimitive
in interface BasicFunction.Integratable<N extends Number,PolynomialFunction<N extends Number>>
public long count()
count
in interface Structure1D
public final int degree()
degree
in interface PolynomialFunction<N extends Number>
public final double doubleValue(long power)
doubleValue
in interface Access1D<N extends Number>
public final void estimate(List<? extends Number> x, List<? extends Number> y)
estimate
in interface PolynomialFunction<N extends Number>
public final void estimate(NumberSeries<?> samples)
estimate
in interface PolynomialFunction<N extends Number>
public final double invoke(double arg)
invoke
in interface UnaryFunction<N extends Number>
public final void set(int power, double coefficient)
set
in interface PolynomialFunction<N extends Number>
public final void set(int power, N coefficient)
set
in interface PolynomialFunction<N extends Number>
public final int size()
size
in interface Structure1D
Copyright © 2019 Optimatika. All rights reserved.