BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
To integrate a complex function of a real variable. More...
Public Member Functions | |
complex_t | integrate (const std::function< complex_t(double)> &f, double lmin, double lmax) |
Private Attributes | |
RealIntegrator | imagPart |
RealIntegrator | realPart |
To integrate a complex function of a real variable.
Definition at line 44 of file IntegratorGK.h.
complex_t ComplexIntegrator::integrate | ( | const std::function< complex_t(double)> & | f, |
double | lmin, | ||
double | lmax | ||
) |
Definition at line 36 of file IntegratorGK.cpp.
References imagPart, RealIntegrator::integrate(), and realPart.
Referenced by FormFactorCone::evaluate_for_q(), FormFactorHemiEllipsoid::evaluate_for_q(), FormFactorTruncatedSphere::evaluate_for_q(), FormFactorTruncatedSpheroid::evaluate_for_q(), and ripples::profile_yz_cosine().
|
private |
Definition at line 50 of file IntegratorGK.h.
Referenced by integrate().
|
private |
Definition at line 49 of file IntegratorGK.h.
Referenced by integrate().