Class PolynomialLeastSquares performs a least squares fit of a polynomial to the data.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  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.

Inheritance Hierarchy

System..::.Object
  CenterSpace.NMath.Analysis..::.PolynomialLeastSquares

See Also