18 typedef complex<double> 
Cd_t;
    19 typedef valarray<double> 
Vd_t;
    29   D4.
coef << 1.0, 0.0, 0.0, 0.0, 0.0;
    30   D3.coef << 1.0, 0.0, 0.0, 0.0;
    31   D2.coef << 1.0, 0.0, 0.0; 
    37   Lmat << D4 / Re  - 
Vd_t(2.0 / Re + (1.0 - 
pow(
y, 2.0)))*
ii*D2 +
    38           (D0 / Re) - (2.0 * 
ii*D0) + 
ii*(
Vd_t(1.0 - 
pow(
y, 2.0))*D0);
    53   eigs.
compute(Lmat, Mmat, 6, bcs);
    54   std::cout << 
"Eigenvalues are:\n" << eigs.
eigenvalues << 
'\n';
 
BcMat will hold general Boundary conditions as LinopMats at evealuation points, as given by operator ...
 
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > eval
 
Linop This class creates a Linear operator to solve TPBVPs. 
 
complex< double > ii(0.0, 1.0)
 
Eigen::Matrix< std::complex< T >, Eigen::Dynamic, 1 > eigenvalues
 
This class represents a block matrix operator. It is a matrix of operators. 
 
Eigen::Matrix< T, Eigen::Dynamic, 1 > coef
Stores the coefficients in the differential equation. 
 
valarray< complex< T > > pow(valarray< complex< T > > base, T power)
 
void compute(Linop< T > L, Linop< T > M, int num_vals)
Call this with an input Linear operator to solve for eigenvalues and vectors. The number of Eigen val...
 
int N
Specifies number of Chebyshev polynomials, default N = 31. 
 
This class will solve the generalized eigenvalue problem for two linear operators. One of them can be singular. 
 
std::valarray< SIS_TYPE > y(N+1)