Chemical Data Processing Library C++ API - Version 1.1.1
Namespaces | Functions
JacobiDiagonalization.hpp File Reference

Implementation of the Jacobi method for the calculation of eigenvalues and eigenvectors. More...

#include <cstddef>
#include "CDPL/Math/Vector.hpp"
#include "CDPL/Math/Matrix.hpp"
#include "CDPL/Math/CommonType.hpp"
#include "CDPL/Math/TypeTraits.hpp"
#include "CDPL/Base/Exceptions.hpp"

Go to the source code of this file.

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Math
 Contains classes and functions related to mathematics.
 

Functions

template<typename M1 , typename V , typename M2 >
bool CDPL::Math::jacobiDiagonalize (MatrixExpression< M1 > &a, VectorExpression< V > &d, MatrixExpression< M2 > &v, std::size_t max_iter=50)
 Computes all eigenvalues and eigenvectors of a real symmetric matrix an using Jacobi's algorithm [WJACO ]. More...
 

Detailed Description

Implementation of the Jacobi method for the calculation of eigenvalues and eigenvectors.