|
last update 20 Sep 2009 |
|
Functions | |
| template<typename T > | |
| void | cvr::householder (vector< T > &v, T &beta) |
| template<typename T > | |
| void | cvr::householder (const vector< T > &src, vector< T > &v, T &beta) |
| template<typename T > | |
| void | cvr::givens (const T &a, const T &b, T &c, T &s) |
If your class does not fit into any of the current groups, please insert a new one in cvrlib/doc/src/cvrGroups.h
| void cvr::givens | ( | const T & | a, | |
| const T & | b, | |||
| T & | c, | |||
| T & | s | |||
| ) | [inline] |
Calculates the cos (c) and sin (s) values needed for Givens Rotations.
The values c and s have the following property:
For more details see:
Gene H. Golub and Charles F. Van Loan, "Matrix Computations", 1996, The John Hopkins University Press, Baltimore and London
| a | first scalar | |
| b | second scalar | |
| c | cos value for Givens Rotation | |
| s | sin value for Givens Rotation |
| void cvr::householder | ( | const vector< T > & | src, | |
| vector< T > & | v, | |||
| T & | beta | |||
| ) | [inline] |
Calculates the Householder vector v and the factor beta for a vector src.
The resulting n-dimensional vector v has the following properties:
is orthogonal, andNote: The on-place version of householder(vector<T>&, T&) is faster since the input vector is not copied first.
For more details see:
Gene H. Golub and Charles F. Van Loan, "Matrix Computations", 1996, The John Hopkins University Press, Baltimore and London
| void cvr::householder | ( | vector< T > & | v, | |
| T & | beta | |||
| ) | [inline] |
Calculates the Householder vector v and the factor beta for a vector x (given as input in v).
The resulting n-dimensional vector v has the following properties:
is orthogonal, and
For more details see:
Gene H. Golub and Charles F. Van Loan, "Matrix Computations", 1996, The John Hopkins University Press, Baltimore and London