Click or drag to resize
QRSolve Method (Double, Double)
Returns the solution to the least-squares problem Ax = b using an input tolerance.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public double[] Solve(
	double[] b,
	double tol
)

Parameters

b
Type: SystemDouble
A double array to be manipulated.
tol
Type: SystemDouble
A double scalar value used in determining the rank of A.

Return Value

Type: Double
A double array containing the solution vector to Ax = b with components corresponding to the unused columns set to zero.
Exceptions
ExceptionCondition
SingularMatrixException is thrown when the upper triangular matrix R resulting from the QR factorization is singular
See Also