|
limes 3.1.0
Composable Calculus Expressions for C++20
|
Integration method objects for composable numerical integration. More...
#include <cstddef>#include <optional>#include <random>#include <functional>#include "concepts.hpp"#include "../algorithms/integrators/integrators.hpp"#include "../algorithms/quadrature/quadrature.hpp"
Include dependency graph for methods.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | limes |
| namespace | limes::methods |
Typedefs | |
| template<typename T = double> | |
| using | limes::methods::default_method = adaptive< T > |
| The default integration method (adaptive Gauss-Legendre) | |
Functions | |
| template<std::size_t N, typename T = double> | |
| constexpr auto | limes::methods::gauss () |
| Factory for Gauss-Legendre quadrature. | |
| template<typename T = double> | |
| constexpr auto | limes::methods::adaptive_method (T tol=T(1e-10)) |
| Factory for adaptive integration. | |
| template<typename T = double> | |
| constexpr auto | limes::methods::monte_carlo_method (std::size_t n) |
| Factory for Monte Carlo integration. | |
| template<std::size_t N, typename T = double> | |
| constexpr auto | limes::methods::simpson_method () |
| Factory for Simpson's rule. | |
| template<std::size_t N, typename T = double> | |
| constexpr auto | limes::methods::trapezoidal_method () |
| Factory for trapezoidal rule. | |
| template<typename M , typename T = double> | |
| constexpr auto | limes::methods::make_adaptive (M base_method, T tol=T(1e-10)) |
| Factory for adaptive composition of any base method. | |
Integration method objects for composable numerical integration.
Methods are first-class objects passed to .eval() on integrals to control how integration is performed.
Definition in file methods.hpp.