21 typedef complex<double>
Cd_t;
33 D2.coef << 1.0, 0.0, 0.0;
41 Lmat << D2 - 0.0001 * D0;
56 A = (
ii*omega*Mmat) - Lmat;
60 svds.
compute(A, B, C, lbcs, rbcs, 12);
62 cout <<
"Singular Values: \n" << svds.
eigenvalues <<
'\n';
63 cout <<
"Power Spectral Density: \n" << svds.PowerSpectralDensity(A,B,C,lbcs,rbcs) <<
'\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.
void compute(const LinopMat< T > &A_, const BcMat< T > &Lbc_, const BcMat< T > &Rbc_, int num_vals)
Computes the singular values/functions of a Linear block matrix operator.
Eigen::Matrix< T, Eigen::Dynamic, 1 > coef
Stores the coefficients in the differential equation.
This class computes various SingularValues of a differential block matrix operator using using it's a...
int N
Specifies number of Chebyshev polynomials, default N = 31.