#include <singular_decomposition.h>
Public Types | |
| typedef T | matrix_type |
| The type of the matrix object to be decomposited. | |
| typedef matrix_type::value_type | value_type |
| The type of the elements stored in the matrix_type. | |
| typedef matrix_type::size_type | size_type |
| The type for seeking in the matrix object. | |
|
typedef banded_adaptor < matrix_type > | banded_adaptor_type |
| The type of banded adaptor. | |
|
typedef bidiagonal_transform < matrix_type > | bidiagonal_transform_type |
| The type of a functor for bidiagonal transformation. | |
|
typedef qr_decomposition < banded_adaptor_type > | qr_decomposition_type |
| The type of a functor for QR decomposition. | |
Public Member Functions | |
| singular_decomposition (matrix_type &matrix) | |
| An object constructor. | |
| template<class M1 , class M2 > | |
| void | apply (M1 &left, M2 &right) const |
| Decomposition operaton. | |
SVD is a factorization of matrix that
More widely known form of SVD is
and this way there are obvious equations:
| lsp::singular_decomposition< T >::singular_decomposition | ( | matrix_type & | matrix | ) | [inline] |
An object constructor.
| [in,out] | matrix | The reference to matrix object to be decomposited |
| void lsp::singular_decomposition< T >::apply | ( | M1 & | left, | |
| M2 & | right | |||
| ) | const [inline] |
Decomposition operaton.
| [out] | left | The left matrix |
| [out] | right | The right matrix |


Referenced by lsp::least_squares< M, V >::solve().