Function QR_decomp_unpack (o2scl_linalg)¶
-
template<class mat_t, class mat2_t, class mat3_t>
void o2scl_linalg::QR_decomp_unpack(const size_t M, const size_t N, mat_t &A, mat2_t &Q, mat3_t &R)¶ Compute the unpacked QR decomposition of matrix
A
.If is compiled with Armadillo support, this is specialized for
arma::mat
to usearma::qr_econ
. If is compiled with Eigen support, this is specialized forEigen::MatrixXd
.