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