Class PolynomialLeastSquares performs a least squares fit of a polynomial to
the data.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class PolynomialLeastSquares : ICloneable |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class PolynomialLeastSquares _ Implements ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] public ref class PolynomialLeastSquares : ICloneable |
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.