Package org.ojalgo.function.polynomial
Class PolynomialR256
java.lang.Object
org.ojalgo.function.polynomial.AbstractPolynomial<BigDecimal,PolynomialR256>
org.ojalgo.function.polynomial.PolynomialR256
- All Implemented Interfaces:
DoubleUnaryOperator
,Function<BigDecimal,
,BigDecimal> UnaryOperator<BigDecimal>
,Group
,Group.Additive<PolynomialFunction<BigDecimal>>
,Operation
,Operation.Addition<PolynomialFunction<BigDecimal>>
,Operation.Multiplication<PolynomialFunction<BigDecimal>>
,Ring<PolynomialFunction<BigDecimal>>
,BasicFunction
,BasicFunction.Differentiable<BigDecimal,
,PolynomialFunction<BigDecimal>> BasicFunction.Integratable<BigDecimal,
,PolynomialFunction<BigDecimal>> PolynomialFunction<BigDecimal>
,UnaryFunction<BigDecimal>
,Access1D<BigDecimal>
,Mutate1D
,Structure1D
BigPolynomial
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends Comparable<N>>, Access1D.Collectable<N extends Comparable<N>,
R extends Mutate1D>, Access1D.ElementView<N extends Comparable<N>>, Access1D.SelectionView<N extends Comparable<N>>, Access1D.Sliceable<N extends Comparable<N>>, Access1D.Visitable<N extends Comparable<N>> Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends Comparable<N>,
F extends BasicFunction>, BasicFunction.Integratable<N extends Comparable<N>, F extends BasicFunction>, BasicFunction.PlainUnary<T, R> Nested classes/interfaces inherited from interface org.ojalgo.algebra.Group
Group.Additive<T>, Group.Multiplicative<T>
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends Comparable<N>>, Mutate1D.Mixable<N extends Comparable<N>>, Mutate1D.Modifiable<N extends Comparable<N>>, Mutate1D.ModifiableReceiver<N extends Comparable<N>>, Mutate1D.Receiver<N extends Comparable<N>>, Mutate1D.Sortable
Nested classes/interfaces inherited from interface org.ojalgo.algebra.Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,
B extends Structure1D.Logical<S, B>>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
FieldsFields inherited from class org.ojalgo.function.polynomial.AbstractPolynomial
DEGREE_ACCURACY
-
Constructor Summary
ConstructorsConstructorDescriptionPolynomialR256
(int degree) PolynomialR256
(BasicArray<BigDecimal> coefficients) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected BigDecimal
getDerivativeFactor
(int power) protected BigDecimal
getPrimitiveFactor
(int power) integrate
(BigDecimal fromPoint, BigDecimal toPoint) invoke
(BigDecimal arg) multiply
(PolynomialFunction<BigDecimal> multiplicand) negate()
The additive inverse of this.protected PolynomialR256
newInstance
(int size) (package private) PolynomialR256
one()
static PolynomialR256
wrap
(BigDecimal... coefficients) Methods inherited from class org.ojalgo.function.polynomial.AbstractPolynomial
add, buildDerivative, buildPrimitive, coefficients, count, degree, doubleValue, equals, estimate, estimate, estimate, get, hashCode, invoke, invoke, norm, power, set, set, set, set, size, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toRawCopy1D
Methods inherited from interface java.util.function.DoubleUnaryOperator
andThen, compose
Methods inherited from interface org.ojalgo.structure.Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, set
Methods inherited from interface org.ojalgo.function.polynomial.PolynomialFunction
degree
Methods inherited from interface org.ojalgo.function.UnaryFunction
andThen, apply, applyAsDouble, compose, invoke, invoke, invoke, invoke
-
Field Details
-
ONE
-
-
Constructor Details
-
PolynomialR256
public PolynomialR256(int degree) -
PolynomialR256
PolynomialR256(BasicArray<BigDecimal> coefficients)
-
-
Method Details
-
wrap
-
estimate
-
integrate
-
invoke
-
multiply
- Specified by:
multiply
in interfaceOperation.Multiplication<PolynomialFunction<BigDecimal>>
- Specified by:
multiply
in classAbstractPolynomial<BigDecimal,
PolynomialR256> - Parameters:
multiplicand
- The multiplicand- Returns:
this * multiplicand
.
-
negate
Description copied from interface:Group.Additive
The additive inverse of this.- Returns:
-this
.
-
getDerivativeFactor
- Specified by:
getDerivativeFactor
in classAbstractPolynomial<BigDecimal,
PolynomialR256>
-
getPrimitiveFactor
- Specified by:
getPrimitiveFactor
in classAbstractPolynomial<BigDecimal,
PolynomialR256>
-
newInstance
- Specified by:
newInstance
in classAbstractPolynomial<BigDecimal,
PolynomialR256>
-
one
PolynomialR256 one()- Specified by:
one
in classAbstractPolynomial<BigDecimal,
PolynomialR256>
-