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

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public NonNegativeLeastSquares(
	double[,] a,
	double[] b
)
Visual Basic (Declaration)
Public Sub New ( _
	a As Double(,), _
	b As Double() _
)
Visual C++
public:
NonNegativeLeastSquares(
	array<double,2>^ a, 
	array<double>^ b
)

Parameters

a
Type: array< System..::.Double ,2>[,](,)[,]
The double input matrix.
b
Type: array< System..::.Double >[]()[]
A double array of length a.GetLength(0).

See Also