|
limes 3.1.0
Composable Calculus Expressions for C++20
|
Trapezoidal rule with N subdivisions. Achieves O(h^2) convergence. More...
#include <methods.hpp>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| constexpr | trapezoidal () noexcept=default |
| algorithms::integration_result< T > | operator() (std::function< T(T)> const &f, T a, T b) const |
Static Public Attributes | |
| static constexpr std::size_t | subdivisions = N |
Trapezoidal rule with N subdivisions. Achieves O(h^2) convergence.
Definition at line 214 of file methods.hpp.
| using limes::methods::trapezoidal< N, T >::value_type = T |
Definition at line 216 of file methods.hpp.
|
constexprdefaultnoexcept |
|
inline |
Definition at line 221 of file methods.hpp.
|
staticconstexpr |
Definition at line 215 of file methods.hpp.