Function apply_givens_qr (o2scl_linalg)

O2scl : Function List

template<class mat1_t, class mat2_t>
void o2scl_linalg::apply_givens_qr(size_t M, size_t N, mat1_t &Q, mat2_t &R, size_t i, size_t j, double c, double s)

Apply a rotation to matrices from the QR decomposition.

This performs \( Q \rightarrow Q G \) and \( R \rightarrow G^{T} R \).