Class PolynomialR064
java.lang.Object
org.ojalgo.function.polynomial.AbstractPolynomial<Double, PolynomialR064>
org.ojalgo.function.polynomial.PolynomialR064
- All Implemented Interfaces:
DoubleUnaryOperator, Function<Double,Double>, UnaryOperator<Double>, Group, Group.Additive<PolynomialFunction<Double>>, Operation, Operation.Addition<PolynomialFunction<Double>>, Operation.Multiplication<PolynomialFunction<Double>>, Ring<PolynomialFunction<Double>>, BasicFunction, BasicFunction.Differentiable<Double, PolynomialFunction<Double>>, BasicFunction.Integratable<Double, PolynomialFunction<Double>>, PolynomialFunction<Double>, UnaryFunction<Double>, Access1D<Double>, Mutate1D, Structure1D
-
Nested Class Summary
Nested classes/interfaces inherited from interface Access1D
Access1D.Aggregatable<N>, Access1D.Collectable<N,R>, Access1D.ElementView<N>, Access1D.SelectionView<N>, Access1D.Sliceable<N>, Access1D.Visitable<N> Nested classes/interfaces inherited from interface BasicFunction
BasicFunction.Differentiable<N,F>, BasicFunction.Integratable<N, F>, BasicFunction.PlainUnary<T, R> Nested classes/interfaces inherited from interface Group
Group.Additive<T>, Group.Multiplicative<T>Nested classes/interfaces inherited from interface Mutate1D
Mutate1D.Fillable<N>, Mutate1D.Mixable<N>, Mutate1D.Modifiable<N>, Mutate1D.ModifiableReceiver<N>, Mutate1D.Receiver<N>, Mutate1D.SortableNested classes/interfaces inherited from interface Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
FieldsFields inherited from class AbstractPolynomial
DEGREE_ACCURACY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(PolynomialFunction<Double> addend) voidprotected DoublegetDerivativeFactor(int power) protected DoublegetPrimitiveFactor(int power) multiply(PolynomialFunction<Double> multiplicand) negate()The additive inverse of this.protected PolynomialR064newInstance(int size) (package private) PolynomialR064one()static PolynomialR064wrap(double... coefficients) Methods inherited from class AbstractPolynomial
buildDerivative, buildPrimitive, coefficients, count, degree, doubleValue, equals, estimate, estimate, estimate, get, hashCode, invoke, invoke, norm, power, set, set, set, set, size, toStringMethods inherited from interface Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1DMethods inherited from interface DoubleUnaryOperator
andThen, composeMethods inherited from interface Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, setMethods inherited from interface PolynomialFunction
degreeMethods inherited from interface UnaryFunction
andThen, apply, applyAsDouble, compose, invoke, invoke, invoke, invoke
-
Field Details
-
ONE
-
-
Constructor Details
-
PolynomialR064
public PolynomialR064(int degree) -
PolynomialR064
PolynomialR064(BasicArray<Double> coefficients)
-
-
Method Details
-
wrap
-
add
- Specified by:
addin interfaceOperation.Addition<PolynomialFunction<Double>>- Overrides:
addin classAbstractPolynomial<Double, PolynomialR064>- Parameters:
addend- What to add- Returns:
this + addend
-
estimate
-
integrate
-
invoke
-
multiply
- Specified by:
multiplyin interfaceOperation.Multiplication<PolynomialFunction<Double>>- Specified by:
multiplyin classAbstractPolynomial<Double, PolynomialR064>- Parameters:
multiplicand- The multiplicand- Returns:
this * multiplicand.
-
negate
-
getDerivativeFactor
- Specified by:
getDerivativeFactorin classAbstractPolynomial<Double, PolynomialR064>
-
getPrimitiveFactor
- Specified by:
getPrimitiveFactorin classAbstractPolynomial<Double, PolynomialR064>
-
newInstance
- Specified by:
newInstancein classAbstractPolynomial<Double, PolynomialR064>
-
one
PolynomialR064 one()- Specified by:
onein classAbstractPolynomial<Double, PolynomialR064>
-