Factors a given matrix so that it may be used to solve least squares problems. The specified tolerance is used in computing the numerical rank of the matrix.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void Factor(
	DoubleComplexMatrix A,
	double tolerance
)
Visual Basic (Declaration)
Public Sub Factor ( _
	A As DoubleComplexMatrix, _
	tolerance As Double _
)
Visual C++
public:
void Factor(
	DoubleComplexMatrix^ A, 
	double tolerance
)

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
A matrix.
tolerance
Type: System..::.Double
Tolerance for computing the numerical rank of the matrix A. If A = QR is the QR factorization of A, then elements on the main diagonal of R are considered to be zero if their absolute value is less than or equal to tolerance.

Remarks

For the QR least squares method to succeed, the matrix A must have full rank.

See Also