|
Theoretica
Mathematical Library
|
Polynomial interpolation of real functions. More...
#include <vector>#include "../core/real_analysis.h"#include "../polynomial/polynomial.h"#include "../algebra/algebra_types.h"#include "../core/function.h"Go to the source code of this file.
Namespaces | |
| namespace | theoretica |
| Main namespace of the library which contains all functions and objects. | |
Functions | |
| template<typename T = real> | |
| polynomial< T > | theoretica::lagrange_polynomial (const std::vector< vec< T, 2 > > &points) |
| Compute the Lagrange polynomial interpolating a set of points. | |
| template<typename VectorType = std::vector<real>> | |
| VectorType | theoretica::chebyshev_nodes (real a, real b, unsigned int n) |
| Compute the n Chebyshev nodes on a given interval. | |
| polynomial< real > | theoretica::interpolate_grid (real_function f, real a, real b, unsigned int order) |
| Compute the interpolating polynomial of a real function on an equidistant point sample. | |
| polynomial< real > | theoretica::interpolate_chebyshev (real_function f, real a, real b, unsigned int order) |
| Compute the interpolating polynomial of a real function using Chebyshev nodes as sampling points. | |
Polynomial interpolation of real functions.