Example usage for Java org.apache.commons.math.optimization.fitting PolynomialFitter fields, constructors, methods, implement or subclass
The text is from its open source code.
PolynomialFitter(int degree, final DifferentiableMultivariateVectorialOptimizer optimizer) Simple constructor. |
void | addObservedPoint(double weight, double x, double y) Add an observed weighted (x,y) point to the sample. |
PolynomialFunction | fit() Get the polynomial fitting the weighted (x, y) points. |