#include <householder_transform.h>
Public Types | |
typedef T | vector_type |
The type of vector object used to construct the transformation. | |
typedef vector_type::value_type | value_type |
The type of elements of that vector. | |
typedef vector_type::size_type | size_type |
The type for seeking in the vector object. | |
Public Member Functions | |
householder_transform (size_type l, size_type p, vector_type v) | |
An object constructor. | |
template<class M > | |
void | apply (matrix_row< M > v) const |
template<class M > | |
void | apply (matrix_column< M > v) const |
template<class U > | |
void | apply (U &v) const |
template<class U > | |
void | apply (U v, vector_tag) const |
template<class U > | |
void | apply (U &w, row_major_tag) const |
Transformation operaton. | |
template<class U > | |
void | apply (U &w, column_major_tag) const |
const value_type | s () const |
const value_type | h () const |
Housholder transformation is a transformation with three arguments: v, l, p. It is defined as:
lsp::householder_transform< T >::householder_transform | ( | size_type | l, | |
size_type | p, | |||
vector_type | v | |||
) | [inline] |
An object constructor.
[in] | l | The number of nonzero coordinates of the result vector |
[in] | p | The index of coordinate to be altered |
[in,out] | v | The initial vector. |
void lsp::householder_transform< T >::apply | ( | U & | w, | |
row_major_tag | ||||
) | const [inline] |
Transformation operaton.
[in,out] | w | Matrix or vector to be transformed |
const value_type lsp::householder_transform< T >::h | ( | ) | const [inline] |
const value_type lsp::householder_transform< T >::s | ( | ) | const [inline] |