﻿PolynomialLeastSquares Class   # PolynomialLeastSquares Class

Class PolynomialLeastSquares performs a least squares fit of a polynomial to the data. Inheritance Hierarchy
SystemObject
CenterSpace.NMath.CorePolynomialLeastSquares

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3 Syntax
`public class PolynomialLeastSquares : ICloneable`

The PolynomialLeastSquares type exposes the following members. Constructors
NameDescription PolynomialLeastSquares(Int32, DoubleVector, DoubleVector)
Constructs a PolynomialLeastSquares instances that fits the given data. PolynomialLeastSquares(Int32, DoubleVector, DoubleVector, Boolean)
Constructs a PolynomialLeastSquares instances that fits the given data. PolynomialLeastSquares(Int32, DoubleVector, DoubleVector, Double)
Constructs a PolynomialLeastSquares instances that fits the given data. PolynomialLeastSquares(Int32, DoubleVector, DoubleVector, Boolean, Double)
Constructs a PolynomialLeastSquares instances that fits the given data.
Top Properties
NameDescription Coefficients
Gets the coeffients of the fitted polynomial. Degree
Gets the degree of the fitted polynomial. DesignMatrix
Gets the design matrix for the fit. FittedPolynomial
Gets the fitted polynomial. LeastSquaresSolution
Gets the least squares object used to compute the coefficients.
Top Methods
NameDescription Clone
Creates a deep copy of this polynomial least squares. 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