LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
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 |
Private Attributes | |
BinaryFunctionT | _func |
BinaryFunctionT::first_argument_type | _x1 |
BinaryFunctionT::first_argument_type | _x2 |
double | _eps |
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 946 of file Integrate.h.
|
inline |
Definition at line 950 of file Integrate.h.
|
inline |
Definition at line 955 of file Integrate.h.
|
private |
Definition at line 962 of file Integrate.h.
|
private |
Definition at line 960 of file Integrate.h.
|
private |
Definition at line 961 of file Integrate.h.
|
private |
Definition at line 961 of file Integrate.h.