Chebyshev Interpolation on Chebyshev points of the second kind Note that N here, the number of points, is one less than N from 'Approximation Theory and Approximation Practice by L.
N. Trefethen (pg.42)'.
|
| static double | Point (size_t N, int j) |
| | Specific Chebyshev point, within [-1,1] interval.
|
| static double | Point (size_t N, int j, double a, double b) |
| | Specific Chebyshev point, within [a,b] interval.
|
|
static Vector | Points (size_t N) |
| | All Chebyshev points.
|
|
static Vector | Points (size_t N, double a, double b) |
| | All Chebyshev points, within [a,b] interval.
|
| static Weights | CalculateWeights (size_t N, double x, double a=-1, double b=1) |
| | Evaluate Chebyshev Weights on [-1,1] at any x up to order N-1 (N values) These weights implement barycentric interpolation at a specific x.
|
| static Weights | DerivativeWeights (size_t N, double x, double a=-1, double b=1) |
| | Evaluate derivative of barycentric weights.
|
| static DiffMatrix | DifferentiationMatrix (size_t N) |
| | Compute D = differentiation matrix, Trefethen00book p.53 When given a parameter vector f of function values at the Chebyshev points, D*f are the values of f'.
|
|
static DiffMatrix | DifferentiationMatrix (size_t N, double a, double b) |
| | Compute D = differentiation matrix, for interval [a,b].
|
| static Matrix | IntegrationMatrix (size_t N) |
| | Exact integration matrix from N derivative nodes to N+1 state nodes.
|
|
static Matrix | IntegrationMatrix (size_t N, double a, double b) |
| | Exact (N+1)×N integration matrix on [a,b].
|
| static Weights | IntegrationWeights (size_t N) |
| | Calculate Clenshaw-Curtis weights for integrating a degree N-1 interpolant represented by values at N CGL nodes over [-1,1].
|
|
static Weights | IntegrationWeights (size_t N, double a, double b) |
| | Calculate Clenshaw-Curtis integration weights for interval [a,b].
|
| static Weights | DoubleIntegrationWeights (size_t N) |
| | Calculate double Clenshaw-Curtis integration weights.
|
|
static Weights | DoubleIntegrationWeights (size_t N, double a, double b) |
| | Calculate double Clenshaw-Curtis integration weights on [a,b].
|
| static Vector | vector (std::function< double(double)> f, size_t N, double a=-1, double b=1) |
| | Create matrix of values at Chebyshev points given vector-valued function.
|
|
template<size_t M> |
| static Matrix | matrix (std::function< Eigen::Matrix< double, M, 1 >(double)> f, size_t N, double a=-1, double b=1) |
| | Create matrix of values at Chebyshev points given vector-valued function.
|
| static Matrix | WeightMatrix (size_t N, const Vector &X) |
| | Calculate weights for all x in vector X.
|
| static Matrix | WeightMatrix (size_t N, const Vector &X, double a, double b) |
| | Calculate weights for all x in vector X, with interval [a,b].
|