Java org.apache.commons.math.analysis.polynomials PolynomialFunction fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math.analysis.polynomials PolynomialFunction fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math.analysis.polynomials PolynomialFunction.

The text is from its open source code.

Constructor

PolynomialFunction(double c[])
Construct a polynomial with the given coefficients.

Method

PolynomialFunctionadd(final PolynomialFunction p)
Add a polynomial to the instance.
intdegree()
Returns the degree of the polynomial
double[]getCoefficients()
Returns a copy of the coefficients array.
PolynomialFunctionmultiply(final PolynomialFunction p)
Multiply the instance by a polynomial.
PolynomialFunctionpolynomialDerivative()
Returns the derivative as a PolynomialRealFunction
PolynomialFunctionsubtract(final PolynomialFunction p)
Subtract a polynomial from the instance.
doublevalue(double x)
Compute the value of the function for the given argument.