givens_base.h File Reference

File for Givens rotations. More...

Go to the source code of this file.


Detailed Description

File for Givens rotations.

Definition in file givens_base.h.


Namespaces

namespace  o2scl_linalg
 The namespace for linear algebra classes and functions.

Functions

template<class mat1_t , class mat2_t >
void 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.
template<class mat1_t , class mat2_t >
void 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.
template<class vec_t >
void apply_givens_vec (vec_t &v, size_t i, size_t j, double c, double s)
 Apply a rotation to a vector, $ v \rightarrow G^{T} v $.

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page