dune-common  2.5.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

◆ eigenValuesNonSym()

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

◆ eigenValuesNonsymLapackCall()

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 
)