Spectral Integral Suite in C++
Ex_07.cpp File Reference

This solves the generalized eigenvalue problem for a block matrix operator system. More...

Detailed Description

This solves the generalized eigenvalue problem for a block matrix operator system.

The eigenvalue problem is given by:

\[ \left[ \begin{array}{cc} \tfrac{1}{16}\mathrm D^4 + 2y & 1.0 \\ \sin (2y) & \tfrac{1}{4}\mathrm D^2 \end{array} \right] \left[ \begin{array}{c} u \\ v \end{array} \right] \;=\; \lambda \left[ \begin{array}{cc} \tfrac{1}{4}\mathrm D^2 & 0\\ 0 & 1 \end{array} \right] \left[ \begin{array}{c} u \\ v \end{array} \right], \]

with boundary conditions:

\[ [\mathrm D u(\cdot)](\pm 1) \;=\; u(\pm 1) \;=\; v(\pm 1) \;=\; 0. \]

Here, \( \mathrm D = \mathrm d/\mathrm d y \).

Definition in file Ex_07.cpp.

Include dependency graph for Ex_07.cpp:

Go to the source code of this file.

Typedefs

typedef complex< double > Cd_t
 
typedef valarray< double > Vd_t
 

Functions

int main ()
 

Typedef Documentation

◆ Cd_t

typedef complex<double> Cd_t

Definition at line 45 of file Ex_07.cpp.

◆ Vd_t

typedef valarray<double> Vd_t

Definition at line 46 of file Ex_07.cpp.

Function Documentation

◆ main()