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.SortableNested 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 TypeMethodDescriptionvoidprotected BigDecimalgetDerivativeFactor(int power) protected BigDecimalgetPrimitiveFactor(int power) integrate(BigDecimal fromPoint, BigDecimal toPoint) invoke(BigDecimal arg) multiply(PolynomialFunction<BigDecimal> multiplicand) negate()The additive inverse of this.protected PolynomialR256newInstance(int size) (package private) PolynomialR256one()static PolynomialR256wrap(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ojalgo.structure.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 java.util.function.DoubleUnaryOperator
andThen, composeMethods inherited from interface org.ojalgo.structure.Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, setMethods inherited from interface org.ojalgo.function.polynomial.PolynomialFunction
degreeMethods 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:
multiplyin interfaceOperation.Multiplication<PolynomialFunction<BigDecimal>>- Specified by:
multiplyin classAbstractPolynomial<BigDecimal,PolynomialR256> - Parameters:
multiplicand- The multiplicand- Returns:
this * multiplicand.
-
negate
Description copied from interface:Group.AdditiveThe additive inverse of this.- Returns:
-this.
-
getDerivativeFactor
- Specified by:
getDerivativeFactorin classAbstractPolynomial<BigDecimal,PolynomialR256>
-
getPrimitiveFactor
- Specified by:
getPrimitiveFactorin classAbstractPolynomial<BigDecimal,PolynomialR256>
-
newInstance
- Specified by:
newInstancein classAbstractPolynomial<BigDecimal,PolynomialR256>
-
one
PolynomialR256 one()- Specified by:
onein classAbstractPolynomial<BigDecimal,PolynomialR256>
-