BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
To integrate a complex function of a real variable.
Definition at line 44 of file IntegratorGK.h.
Public Member Functions | |
complex_t | integrate (const std::function< complex_t(double)> &f, double lmin, double lmax) |
Private Attributes | |
RealIntegrator | imagPart |
RealIntegrator | realPart |
complex_t ComplexIntegrator::integrate | ( | const std::function< complex_t(double)> & | f, |
double | lmin, | ||
double | lmax | ||
) |
Definition at line 37 of file IntegratorGK.cpp.
References imagPart, RealIntegrator::integrate(), and realPart.
Referenced by Cone::formfactor_at_bottom(), HemiEllipsoid::formfactor_at_bottom(), HorizontalCylinder::formfactor_at_bottom(), TruncatedSphere::formfactor_at_bottom(), TruncatedSpheroid::formfactor_at_bottom(), 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().