/usr/include/boost/math/quadrature
NameSizeModeActions
detail/-0755rm
exp_sinh.hpp39340644editdlrm
gauss.hpp523830644editdlrm
gauss_kronrod.hpp940260644editdlrm
naive_monte_carlo.hpp185890644editdlrm
ooura_fourier_integrals.hpp22800644editdlrm
sinh_sinh.hpp13620644editdlrm
tanh_sinh.hpp112850644editdlrm
trapezoidal.hpp50160644editdlrm
wavelet_transforms.hpp15740644editdlrm
Edit: /usr/include/boost/math/quadrature/sinh_sinh.hpp (1362B)
// Copyright Nick Thompson, 2017 // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) /* * This class performs sinh-sinh quadrature over the entire real line. * * References: * * 1) Tanaka, Ken'ichiro, et al. "Function classes for double exponential integration formulas." Numerische Mathematik 111.4 (2009): 631-655. */ #ifndef BOOST_MATH_QUADRATURE_SINH_SINH_HPP #define BOOST_MATH_QUADRATURE_SINH_SINH_HPP #include #include #include #include namespace boost{ namespace math{ namespace quadrature { template > class sinh_sinh { public: sinh_sinh(size_t max_refinements = 9) : m_imp(std::make_shared >(max_refinements)) {} template auto integrate(const F f, Real tol = boost::math::tools::root_epsilon(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr)->decltype(std::declval()(std::declval())) const { return m_imp->integrate(f, tol, error, L1, levels); } private: std::shared_ptr> m_imp; }; }}} #endif