![](../icons/Help.png) | PolynomialLeastSquares Class |
Class PolynomialLeastSquares performs a least squares fit of a polynomial to
the data.
Inheritance Hierarchy Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic class PolynomialLeastSquares : ICloneable
Public Class PolynomialLeastSquares
Implements ICloneable
public ref class PolynomialLeastSquares : ICloneable
type PolynomialLeastSquares =
class
interface ICloneable
end
The PolynomialLeastSquares type exposes the following members.
Constructors | Name | Description |
---|
![Public method Public method](../icons/pubMethod.gif) | PolynomialLeastSquares(Int32, DoubleVector, DoubleVector) |
Constructs a PolynomialLeastSquares instances that fits the given data.
|
![Public method Public method](../icons/pubMethod.gif) | PolynomialLeastSquares(Int32, DoubleVector, DoubleVector, Boolean) |
Constructs a PolynomialLeastSquares instances that fits the given data.
|
![Public method Public method](../icons/pubMethod.gif) | PolynomialLeastSquares(Int32, DoubleVector, DoubleVector, Double) |
Constructs a PolynomialLeastSquares instances that fits the given data.
|
![Public method Public method](../icons/pubMethod.gif) | PolynomialLeastSquares(Int32, DoubleVector, DoubleVector, Boolean, Double) |
Constructs a PolynomialLeastSquares instances that fits the given data.
|
Top
Properties
Methods | Name | Description |
---|
![Public method Public method](../icons/pubMethod.gif) | Clone |
Creates a deep copy of this polynomial least squares.
|
![Public method Public method](../icons/pubMethod.gif) | CoeffErrorEstimate |
Returns error estimates for the coefficients based on the estimated error in the
y values.
|
Top
Remarks
Solves the equation y = Xa using least squares, where X is the
Vandermonde matrix. X[i,j] = xi ^ j. y is the y data.
See Also