35 D2.coef << 1.0, 0.0, 0.0;
50 Lmat << D2 - 4.0 * D0;
73 outf.open(
"data/Ex_01.txt");
74 Eigen::MatrixXd temp(
N + 1, 2);
75 temp <<
yEigen, forc(0,0).evr();
BcMat will hold general Boundary conditions as LinopMats at evealuation points, as given by operator ...
ChebfunMat< std::complex< T > > linSolve(const LinopMat< std::complex< T > > &Lmat_, const BcMat< std::complex< T > > &bcmat_, const ChebfunMat< std::complex< T > > &forc_)
Linear equation solver.
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > eval
Linop This class creates a Linear operator to solve TPBVPs.
Eigen::Matrix< SIS_TYPE, Eigen::Dynamic, Eigen::Dynamic > yEigen
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.
int N
Specifies number of Chebyshev polynomials, default N = 31.
std::valarray< SIS_TYPE > y(N+1)
This class holds a matrix of Chebfuns.
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > vals