#include <bidiagonal_transform.h>
Public Types | |
typedef T | matrix_type |
The type of the matrix object to be trasformed. | |
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. | |
Public Member Functions | |
bidiagonal_transform (matrix_type &matrix) | |
An object constructor. | |
template<class M1 , class M2 > | |
void | apply (M1 &left, M2 &right) const |
Transformation operaton. | |
value_type | left_error () const |
Rounding error for the left matrix. | |
value_type | right_error () const |
Rounding error for the right matrix. | |
value_type | matrix_error () const |
Rounding error for the result matrix. |
Any matrix can be transformed into the bidiagonal form by the Householder transformations.
lsp::bidiagonal_transform< T >::bidiagonal_transform | ( | matrix_type & | matrix | ) | [inline] |
An object constructor.
[in,out] | matrix | The reference to matrix object to be transformed |
void lsp::bidiagonal_transform< T >::apply | ( | M1 & | left, | |
M2 & | right | |||
) | const [inline] |
Transformation operaton.
[out] | left | The left matrix |
[out] | right | The right matrix |
Referenced by lsp::singular_decomposition< matrix_type >::apply().
value_type lsp::bidiagonal_transform< T >::left_error | ( | ) | const [inline] |
Rounding error for the left matrix.
value_type lsp::bidiagonal_transform< T >::matrix_error | ( | ) | const [inline] |
Rounding error for the result matrix.
Referenced by lsp::singular_decomposition< matrix_type >::apply().
value_type lsp::bidiagonal_transform< T >::right_error | ( | ) | const [inline] |
Rounding error for the right matrix.