Function apply_givens_lq (o2scl_linalg)

O2scl : Function List

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

Apply a rotation to matrices from the LQ decomposition.

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