lsst.afw
19.0.0-24-gf0e72354e+1
|
Wrap an integrand in a call to a 1D integrator: romberg() More...
#include <Integrate.h>
Public Member Functions | |
FunctionWrapper (BinaryFunctionT func, typename BinaryFunctionT::first_argument_type const x1, typename BinaryFunctionT::first_argument_type const x2, double const eps=1.0e-6) | |
BinaryFunctionT::result_type | operator() (typename BinaryFunctionT::second_argument_type const y) const |
Wrap an integrand in a call to a 1D integrator: romberg()
When romberg2D() is called, it wraps the integrand it was given in a FunctionWrapper functor. This wrapper calls romberg() on the integrand to get a 1D (along the x-coord, for constant y) result . romberg2D() then calls romberg() with the FunctionWrapper functor as an integrand.
Definition at line 908 of file Integrate.h.
|
inline |
Definition at line 911 of file Integrate.h.
|
inline |
Definition at line 914 of file Integrate.h.