Gets the design matrix for the fit.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleMatrix DesignMatrix { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property DesignMatrix As DoubleMatrix |
| Visual C++ |
|---|
public: property DoubleMatrix^ DesignMatrix { DoubleMatrix^ get (); } |
Remarks
The design matrix is the matrix whose ith row is:
CopyC#
where n is the degree of the polynomial fitted.
xi^n xi^(n-1) xi^(n-2) . . . xi 1