The NonNegativeLeastSquares type exposes the following members.

Constructors

NameDescription
NonNegativeLeastSquares
Construct a new NonNegativeLeastSquares instance to solve Ax-b where x is a vector of n unknowns.

Methods

NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDualSolution
Returns the dual solution vector, w. If x_j=0
            then w_j\le 0, otherwise w_j = 0.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetSolution
Returns the solution to the problem, x.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetGuess
Sets the initial guess.
Solve
Finds the solution to the problem for the current constraints.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

NameDescription
DualTolerance
The dual tolerance controlling when the computation stops.
Iterations
The number of iterations used to find the solution.
MaximumTime
The maximum time allowed for the solve step.
MaxIterations
The maximum number of iterations.
NormTolerance
The residual norm tolerance.
RankTolerance
The tolerance used for the incoming column rank deficient check.
ResidualNorm
The euclidean norm of the residual vector, \|Ax-b\|^2
            .

See Also