dune-common  2.4.1
Functions
Dune::DynamicMatrixHelp Namespace Reference

Functions

void eigenValuesNonsymLapackCall (const char *jobvl, const char *jobvr, const long int *n, double *a, const long int *lda, double *wr, double *wi, double *vl, const long int *ldvl, double *vr, const long int *ldvr, double *work, const long int *lwork, const long int *info)
 
template<typename K , class C >
static void eigenValuesNonSym (const DynamicMatrix< K > &matrix, DynamicVector< C > &eigenValues)
 calculates the eigenvalues of a symmetric field matrix More...
 

Function Documentation

template<typename K , class C >
static void Dune::DynamicMatrixHelp::eigenValuesNonSym ( const DynamicMatrix< K > &  matrix,
DynamicVector< C > &  eigenValues 
)
static

calculates the eigenvalues of a symmetric field matrix

Parameters
[in]matrixmatrix eigenvalues are calculated for
[out]eigenValuesFieldVector that contains eigenvalues in ascending order
Note
LAPACK::dgeev is used to calculate the eigen values

References DUNE_THROW, eigenValuesNonsymLapackCall(), Dune::DynamicVector< K, Allocator >::resize(), and Dune::DenseMatrix< DynamicMatrix< K > >::rows().

void Dune::DynamicMatrixHelp::eigenValuesNonsymLapackCall ( const char *  jobvl,
const char *  jobvr,
const long int *  n,
double *  a,
const long int *  lda,
double *  wr,
double *  wi,
double *  vl,
const long int *  ldvl,
double *  vr,
const long int *  ldvr,
double *  work,
const long int *  lwork,
const long int *  info 
)

References DUNE_THROW.

Referenced by eigenValuesNonSym().