Click or drag to resize

DoubleQRLeastSqFactor(DoubleMatrix, Boolean) Method

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.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void Factor(
	DoubleMatrix A,
	bool inPlace
)

Parameters

A  DoubleMatrix
A matrix.
inPlace  Boolean
If true, the QR decomposition performed during the least square computation will overwrite the input matrix A. If false the input matrix A will be preserved at the expense of making a copy of A. Note that if inPlace is true, the input matrix A will not be checked for valid input (NaN's and infinity's).
Remarks
For the QR least squares method to succeed, the matrix A must have full rank.
See Also