template<class T>
class gnsstk::Householder< T >
Definition at line 745 of file MatrixFunctors.hpp.
#include <MatrixFunctors.hpp>
◆ Householder()
◆ operator()()
template<class T >
template<class BaseClass >
Explicitly perform the transformation, one column at a time, without actually constructing the transformation matrix. Let y be column k of the input matrix. y can be zeroed below the diagonal as follows: let sum=sign(y(k))*sqrt(y*y), and define vector u(k)=y(k)+sum, u(j)=y(j) (j.gt.k). This defines the transformation matrix as (1-bu*u), with b=2/u*u=1/sum*u(k). Redefine y(k)=u(k) and apply the transformation to elements of the input matrix below and to the right of the (k,k) element. This algorithm for each column k=0,n-1 in turn is equivalent to a single orthogonal transformation which triangularizes the matrix.
- Exceptions
-
Definition at line 765 of file MatrixFunctors.hpp.
The documentation for this class was generated from the following file: