﻿DoubleNonnegativeLeastSqResult Class   # DoubleNonnegativeLeastSqResult Class

Class containing the results of a nonnegative least squares solve attempt. Double precision version. Inheritance Hierarchy
SystemObject
CenterSpace.NMath.CoreDoubleNonnegativeLeastSqResult

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3 Syntax
```[SerializableAttribute]
public class DoubleNonnegativeLeastSqResult : ICloneable```

The DoubleNonnegativeLeastSqResult type exposes the following members. Constructors
NameDescription DoubleNonnegativeLeastSqResult
Construction an empty DoubleNonnegativeLeastSqResult object.
Top Properties
NameDescription AlgorithmTermination
The algorithm termination status. Iterations
Gets the number of iterations performed by the algorithm. MaxIterations
Gets the maximum number of iterations performed by the algorithm. Default is FloatNonnegativeLeastSquares.DEFAULT_MAX_ITERATIONS = 100000. RankDeficiencyDetected
If a rank deficiency was detected while solving an unconstrained least squares problem during the nonnegative least squares iterative algorithm, true is returned. Residuals
Gets the vector of residuals. 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 vector of residuals r is the vector whose ith component is r[i] = y[i] - yhat[i]. ResidualSumOfSquares
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 - yhat)^2 + (y - yhat)^2 + ... + (y[m-1] - yhat[m-1])^2. Solution
Gets the nonnegative least squares solution x for the least squares problem Tolerance
The specified tolerance for the solve. Yhat
Gets the predicted value of y by computing yHat = Ax, where x is the calculated solution to the least squares problem Ax = y.
Top Methods
NameDescription Clone
IClonable interface. Returns a deep copy of self.
Top See Also