KASKADE 7 development version
Loading...
Searching...
No Matches

Functions

template<class Scalar, int d>
Dune::FieldVector< Scalar, d > Kaskade::eigenvalues (Dune::FieldMatrix< Scalar, d, d > A)
 Computes the eigenvalues of a symmetric matrix \( A \).
template<class Scalar, int d>
Dune::FieldVector< Scalar, d > Kaskade::eig (Dune::FieldMatrix< Scalar, d, d > &A, bool computeEigenvectors=true)
 Computes the eigenvalues and eigenvectors of a symmetric matrix \( A \).
template<class Entry>
std::vector< typename EntryTraits< Entry >::real_type > eigenvalues (DynamicMatrix< Entry > A)
 Computes the eigenvalues of a symmetric matrix \( A \).
template<class Entry>
std::vector< typename EntryTraits< Entry >::real_type > eig (DynamicMatrix< Entry > &A, bool computeEigenvectors=true)
 Computes the eigenvalues and eigenvectors of a symmetric matrix \( A \).

Detailed Description

Function Documentation

◆ eig() [1/2]

template<class Entry>
std::vector< typename EntryTraits< Entry >::real_type > eig ( DynamicMatrix< Entry > & A,
bool computeEigenvectors = true )
related

Computes the eigenvalues and eigenvectors of a symmetric matrix \( A \).

Parameters
Aon entry, a symmetric square matrix, on exit, contains the eigenvectors in columns if computeEigenvectors is true
computeEigenvectorsif true, compute eigenvectors in addition to eigenvalues
Returns
a STL sequence of the eigenvalues in ascending order

◆ eig() [2/2]

template<class Scalar, int d>
Dune::FieldVector< Scalar, d > Kaskade::eig ( Dune::FieldMatrix< Scalar, d, d > & A,
bool computeEigenvectors = true )

Computes the eigenvalues and eigenvectors of a symmetric matrix \( A \).

Computes a vector of eigenvalues \( d \) and, optionally, an orthonormal matrix \( V \) of column eigenvectors, such that \( A = V D V^T \) with \( D = \mathrm{diag}(d) \).

Parameters
Aon entry, a symmetric square matrix, on exit, contains the eigenvectors in columns if computeEigenvectors is true
computeEigenvectorsif true, compute eigenvectors in addition to eigenvalues
Returns
a sequence \( d \) of the eigenvalues in ascending order

◆ eigenvalues() [1/2]

template<class Entry>
std::vector< typename EntryTraits< Entry >::real_type > eigenvalues ( DynamicMatrix< Entry > A)
related

Computes the eigenvalues of a symmetric matrix \( A \).

Returns
a STL sequence of the eigenvalues in ascending order

◆ eigenvalues() [2/2]

template<class Scalar, int d>
Dune::FieldVector< Scalar, d > Kaskade::eigenvalues ( Dune::FieldMatrix< Scalar, d, d > A)

Computes the eigenvalues of a symmetric matrix \( A \).

Returns
a sequence of the eigenvalues in ascending order