The FloatNonnegativeLeastSquares type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FloatNonnegativeLeastSquares | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a deep copy of this least squares.
| |
| Equals | (Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| 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[0] - yhat[0])^2 + (y[1] - yhat[1])^2 + ... + (y[m-1] - yhat[m-1])^2.
| |
| X |
Gets the nonnegative least squares solution x for the least squares problem
Ax = y.
| |
| Yhat |
Gets the predicted value of y by computing yHat = Ax,
where x is the calculated solution to the least squares
problem Ax = y.
|