38 Eigen::VectorXd
getPols(
int Size,
double x);
55 Eigen::MatrixXd
getCoefs(
int Size,
bool isInverse =
false);
59 double evalPol(
const Eigen::VectorXd& polCoef,
double x);
69 Eigen::VectorXd
interpol(
const Eigen::VectorXd& xi,
double x);
76 double interpol(Eigen::VectorXd xi, Eigen::VectorXd vals,
double x);
Eigen::VectorXd getWeights(int Size)
Get the vector of weights to calculate the integral over the Chebyshev nodes The nodes are by definit...
Eigen::VectorXd getPols(int Size, double x)
Evaluate Chebyshev polynomials up to Size at point x It returns a vector of the P_i(x) for i=0....
Eigen::MatrixXd getCoefsCheb(int oldSize)
Transformation matrix between Cheb nodes and Cheb coefficients with better normalization of the borde...
Eigen::VectorXd interpol(const Eigen::VectorXd &xi, double x)
Get Interpolation vector k_i for point x from the function values at points xi (polynomial interpolat...
Eigen::MatrixXd getCoefs(int Size, bool isInverse=false)
Transformation matrix between Cheb nodes and coefficients of the Cheb polynomials Notice,...
double evalPol(const Eigen::VectorXd &polCoef, double x)
Evaluate Cheb.
Eigen::VectorXd getPolsSum(int Size, Eigen::VectorXd x)
Calculate the Chebyshev polynomials of order i=0..Size-1 at points given in vector x_j and sum it ove...
Eigen::VectorXd getNodes(int Size)
Get the vector of positions of the Chebyshev nodes The nodes are by definition between 0 and 1,...
Abstract base class for different kinds of events.