Constructs a DoubleQRDecomp instance of a given matrix.

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

Syntax

C#
public DoubleQRDecomp(
	DoubleMatrix A,
	bool inPlace
)
Visual Basic (Declaration)
Public Sub New ( _
	A As DoubleMatrix, _
	inPlace As Boolean _
)
Visual C++
public:
DoubleQRDecomp(
	DoubleMatrix^ A, 
	bool inPlace
)

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix to factor.
inPlace
Type: System..::.Boolean
If true, the QR decomposition 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

By default, pivoting is done so that the entries along the diagonal of R are non-increasing.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the matrix contains any NaN values and inPlace is false.

See Also