Dune Core Modules (2.6.0)

dynmatrixev.hh File Reference

utility functions to compute eigenvalues for dense matrices. More...

#include <memory>
#include <dune/common/std/memory.hh>
#include "dynmatrix.hh"

Go to the source code of this file.

Namespaces

namespace  Dune
 Dune namespace.
 

Functions

template<typename K , class C >
static void Dune::DynamicMatrixHelp::eigenValuesNonSym (const DynamicMatrix< K > &matrix, DynamicVector< C > &eigenValues)
 calculates the eigenvalues of a symmetric field matrix More...
 

Detailed Description

utility functions to compute eigenvalues for dense matrices.

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

References Dune::DynamicMatrixHelp::eigenValuesNonSym(), and Dune::DenseMatrix< MAT >::rows().

Referenced by Dune::DynamicMatrixHelp::eigenValuesNonSym().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 26, 23:30, 2024)