Function QR_decomp_unpack (o2scl_linalg)

O2scl : Function List

template<>
void o2scl_linalg::QR_decomp_unpack<arma::mat, arma::mat, arma::mat>(const size_t M, const size_t N, arma::mat &A, arma::mat &Q, arma::mat &R)

Armadillo specialization of QR_decomp_unpack().

template<>
void o2scl_linalg::QR_decomp_unpack<Eigen::MatrixXd, Eigen::MatrixXd, Eigen::MatrixXd>(const size_t M, const size_t N, Eigen::MatrixXd &A, Eigen::MatrixXd &Q, Eigen::MatrixXd &R)

Eigen specialization of QR_decomp_unpack().

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 use arma::qr_econ. If is compiled with Eigen support, this is specialized for Eigen::MatrixXd.