FactorizationQR
Computes the QR factorization of a general m-by-n matrix: A = Q * R. LAPACK function GEQRF.
Computing for type matrix<double>
bool matrix::FactorizationQR(
bool reduced,
matrix& Q,
matrix& R
);
|
Computing for type matrix<float>
bool matrix::FactorizationQR(
bool reduced,
matrixf& Q,
matrixf& R
);
|
Computing for type matrix<complex>
bool matrix::FactorizationQR(
bool reduced,
matrixc& Q,
matrixc& R
);
|
Computing for type matrix<complexf>
bool matrix::FactorizationQR(
bool reduced,
matrixcf& Q,
matrixcf& R
);
|
Parameters
reduced
[in] Calculation mode. If reduced is true then matrices Q, R calculated with dimensions (M, K), (K, N). If reduced is false it means complete calculation of matrices Q, R with dimensions (M,M), (M,N).
Q
[out] Orthogonal or unitary matrix Q.
R
[out] Upper triangular matrix R.
Return Value
Note