Click or drag to resize

ILinearAlgebraProviderTQRSolveFactored Method

Solves A*X=B for X using a previously QR factored matrix.

Namespace: Altaxo.Calc.Providers.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
void QRSolveFactored(
	T[] q,
	T[] r,
	int rowsA,
	int columnsA,
	T[] tau,
	T[] b,
	int columnsB,
	T[] x,
	QRMethod method = QRMethod.Full
)

Parameters

q  T
The Q matrix obtained by QR factor. This is only used for the managed provider and can be null for the native provider. The native provider uses the Q portion stored in the R matrix.
r  T
The R matrix obtained by calling QRFactor(T, Int32, Int32, T, T).
rowsA  Int32
The number of rows in the A matrix.
columnsA  Int32
The number of columns in the A matrix.
tau  T
Contains additional information on Q. Only used for the native solver and can be null for the managed provider.
b  T
On entry the B matrix; on exit the X matrix.
columnsB  Int32
The number of columns of B.
x  T
On exit, the solution matrix.
method  QRMethod  (Optional)
The type of QR factorization to perform.
Remarks
Rows must be greater or equal to columns.
See Also