|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
A reflector H = I - tau*v*v^H with v(0) == 1, and beta, H*x = beta*e_1, as householder_reflector() returns them. More...
#include <householder.hpp>
Public Attributes | |
| vec::dense_vector< T > | v |
| T | tau |
| 0 means H = I | |
| T | beta |
| H*x = beta*e_1; real-valued for a complex x; x(0) when tau == 0. | |
A reflector H = I - tau*v*v^H with v(0) == 1, and beta, H*x = beta*e_1, as householder_reflector() returns them.
Supports structured bindings: auto [v, tau, beta] = householder_reflector(x);
| T mtl::normalized_reflection< T >::beta |
H*x = beta*e_1; real-valued for a complex x; x(0) when tau == 0.
| T mtl::normalized_reflection< T >::tau |
0 means H = I
| vec::dense_vector<T> mtl::normalized_reflection< T >::v |