Basis of Chebyshev polynomials of the second kind.
https://en.wikipedia.org/wiki/Chebyshev_polynomials#Second_kind These are typically denoted with the symbol U_n, where n is the degree. The parameter N is the number of coefficients, i.e., N = n+1. In contrast to the templates in Chebyshev2, the classes below specify basis functions, weighted combinations of which are used to approximate functions. In this sense, they are like the sines and cosines of the Fourier basis.
|
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). More...
|
|
static Weights | DerivativeWeights (size_t N, double x, double a=-1, double b=1) |
| Evaluate Chebyshev derivative at x. More...
|
|
static Matrix | WeightMatrix (size_t N, const Vector &X) |
| Calculate weights for all x in vector X. More...
|
|
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]. More...
|
|
static double | Derivative (double x, const Vector &p, OptionalJacobian< -1, -1 > H=boost::none) |
|