Example usage for Java org.apache.commons.math3.analysis.polynomials PolynomialFunction fields, constructors, methods, implement or subclass
The text is from its open source code.
PolynomialFunction(double c[]) Construct a polynomial with the given coefficients. |
PolynomialFunction | add(final PolynomialFunction p) Add a polynomial to the instance. |
int | degree() Returns the degree of the polynomial. |
UnivariateFunction | derivative() Returns the derivative as a UnivariateFunction . |
double[] | getCoefficients() Returns a copy of the coefficients array. |
PolynomialFunction | multiply(final PolynomialFunction p) Multiply the instance by a polynomial. |
PolynomialFunction | polynomialDerivative() Returns the derivative as a PolynomialFunction . |
String | toString() Returns a string representation of the polynomial. |
double | value(double x) Compute the value of the function for the given argument. |
DerivativeStructure | value(final DerivativeStructure t) |