Gets the residual sum of squares. If y is the right-hand side of the least squares equation Ax = y, and we denote by yhat the vector Ax where x is the computed least squares solution, then the residual sum of squares is defined to be (y[0] - yhat[0])^2 + (y[1] - yhat[1])^2 + ... + (y[m-1] - yhat[m-1])^2.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public double ResidualSumOfSquares { get; }
Visual Basic (Declaration)
Public ReadOnly Property ResidualSumOfSquares As Double
Visual C++
public:
property double ResidualSumOfSquares {
	double get ();
}

See Also