Scythe-1.0.3
|
QR decomposition of a matrix. This function performs QR decomposition. That is, given a matrix A, qr_decomp computes the QR factorization of A with column pivoting, such that . The resulting QRdecomp object contains three matrices, QR, tau, and pivot. The upper triangle of QR contains the min( , ) by upper trapezoidal matrix , while tau and the elements of QR below the diagonal represent the orthogonal matrix as a product of min( , ) elementary reflectors. The vector pivot is a permutation vector containing information about the pivoting strategy used in the factorization.
References scythe::Matrix< T_type, ORDER, STYLE >::getArray(), scythe::Matrix_base< ORDER, STYLE >::isNull(), and SCYTHE_CHECK_10. |