Spectral Integral Suite in C++
|
An example for the solution of a generalized eigenvalue problem \( L \phi = \lambda M \phi \). More...
An example for the solution of a generalized eigenvalue problem \( L \phi = \lambda M \phi \).
Solves the generalized eigenvalue problem, where, \( L = \mathrm D^4 - 8\mathrm D^2 + 16,\;\; u(\pm 1) = [\mathrm D^2u(\cdot)](\pm 1) = 0\) and \( M = \mathrm D^2 - 4,\;\; u(\pm 1) = 0 \). Where \( \mathrm D = \mathrm d/\mathrm d y \).
Definition in file Ex_06.cpp.
Go to the source code of this file.
Typedefs | |
typedef complex< double > | Cd_t |
typedef valarray< double > | Vd_t |
Functions | |
int | main () |
int main | ( | ) |
Definition at line 18 of file Ex_06.cpp.
References sis::Linop< T >::coef, sis::GeneralizedEigenSolver< T >::compute(), sis::GeneralizedEigenSolver< T >::eigenvalues, sis::N, and sis::sis_setup().