latest version v1.9 - last update 10 Apr 2010 |
#include <ltiEigenSystem.h>
Classes | |
class | parameters |
eigenSystem parameter class More... | |
Public Member Functions | |
eigenSystem () | |
eigenSystem (const parameters &theParams) | |
eigenSystem (const bool theSort) | |
virtual | ~eigenSystem () |
const parameters & | getParameters () const |
virtual bool | apply (const matrix< T > &theMatrix, vector< T > &eigenvalues, matrix< T > &eigenvectors) const =0 |
virtual const char * | getTypeName () const |
Base class for Eigenvalue and Eigenvector computation functors.
Please note that the eigenvector matrices will contain the eigenvector in the COLUMNS and not in the rows, as could be expected. This avoids the requirement of transposing matrices in eigenvector-based transformations like PCA!
lti::eigenSystem< T >::eigenSystem | ( | ) | [inline] |
default constructor
lti::eigenSystem< T >::eigenSystem | ( | const parameters & | theParams | ) |
constructor, sets the parameters
lti::eigenSystem< T >::eigenSystem | ( | const bool | theSort | ) |
constructor, sets the parameters
virtual lti::eigenSystem< T >::~eigenSystem | ( | ) | [inline, virtual] |
destructor
virtual bool lti::eigenSystem< T >::apply | ( | const matrix< T > & | theMatrix, | |
vector< T > & | eigenvalues, | |||
matrix< T > & | eigenvectors | |||
) | const [pure virtual] |
onCopy version of apply.
theMatrix | matrix to be transformed | |
eigenvalues | elements will contain the eigenvalues | |
eigenvectors | columns will contain the eigenvectors corresponding to the eigenvalues |
Implemented in lti::jacobi< T >, lti::fastEigenSystem< T >, lti::generalEigenVectors< T >, and lti::jacobi< double >.
const parameters& lti::eigenSystem< T >::getParameters | ( | ) | const |
returns the current parameters.
Reimplemented from lti::functor.
Reimplemented in lti::jacobi< T >, lti::fastEigenSystem< T >, lti::generalEigenVectors< T >, and lti::jacobi< double >.
virtual const char* lti::eigenSystem< T >::getTypeName | ( | void | ) | const [inline, virtual] |
returns the name of this type
Reimplemented from lti::linearAlgebraFunctor.
Reimplemented in lti::jacobi< T >, lti::fastEigenSystem< T >, lti::generalEigenVectors< T >, and lti::jacobi< double >.