Uses of Class
com.opengamma.strata.math.impl.function.RealPolynomialFunction1D
-
Packages that use RealPolynomialFunction1D Package Description com.opengamma.strata.math.impl.function com.opengamma.strata.math.impl.rootfinding -
-
Uses of RealPolynomialFunction1D in com.opengamma.strata.math.impl.function
Methods in com.opengamma.strata.math.impl.function that return RealPolynomialFunction1D Modifier and Type Method Description RealPolynomialFunction1D
RealPolynomialFunction1D. add(double a)
Adds a constant to the polynomial (equivalent to adding the value to the constant term of the polynomial).RealPolynomialFunction1D
RealPolynomialFunction1D. derivative()
Returns the derivative of this polynomial (also a polynomial), where $$ \begin{align*} P'(x) = a_1 + 2 a_2 x + 3 a_3 x^2 + 4 a_4 x^3 + \dots + n a_n x^{n-1} \end{align*} $$.RealPolynomialFunction1D
RealPolynomialFunction1D. divide(double a)
Divides the polynomial by a constant value (equivalent to dividing each coefficient by this value).RealPolynomialFunction1D
RealPolynomialFunction1D. multiply(double a)
Multiplies the polynomial by a constant value (equivalent to multiplying each coefficient by this value).RealPolynomialFunction1D
RealPolynomialFunction1D. subtract(double a)
Subtracts a constant from the polynomial (equivalent to subtracting the value from the constant term of the polynomial).RealPolynomialFunction1D
RealPolynomialFunction1D. toMonic()
Converts the polynomial to its monic form. -
Uses of RealPolynomialFunction1D in com.opengamma.strata.math.impl.rootfinding
Methods in com.opengamma.strata.math.impl.rootfinding with parameters of type RealPolynomialFunction1D Modifier and Type Method Description Double[]
CubicRealRootFinder. getRoots(RealPolynomialFunction1D function)
com.opengamma.strata.math.impl.ComplexNumber[]
CubicRootFinder. getRoots(RealPolynomialFunction1D function)
Double[]
EigenvaluePolynomialRootFinder. getRoots(RealPolynomialFunction1D function)
Double[]
LaguerrePolynomialRealRootFinder. getRoots(RealPolynomialFunction1D function)
T[]
Polynomial1DRootFinder. getRoots(RealPolynomialFunction1D function)
Double[]
QuadraticRealRootFinder. getRoots(RealPolynomialFunction1D function)
-