#include <MatrixFunctors.hpp>
It applies to any matrix.
Definition at line 694 of file MatrixFunctors.hpp.
Public Member Functions | |
| Householder () | |
| template<class BaseClass> | |
| void | operator() (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException) |
| Explicitly perform the transformation, one column at a time, without actually constructing the transformation matrix. | |
Public Attributes | |
| Matrix< T > | A |
| The upper triangular transformed matrix. | |
|
|
Definition at line 697 of file MatrixFunctors.hpp. |
|
|
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. Definition at line 710 of file MatrixFunctors.hpp. References SQRT, and gpstk::sum(). |
|
|
The upper triangular transformed matrix.
Definition at line 756 of file MatrixFunctors.hpp. Referenced by MatrixTest7(), SRI::operator+=(), SRI::Qbump(), and SRI::transformState(). |
1.3.9.1