41 const complex_t qH2 = q.z() *
H / 2.;
42 const complex_t qR = std::sqrt(q.x() * q.x() + q.y() * q.y()) *
R;
47 return radial_part * axial_part * exp_I(qH2);
Defines Bessel functions in namespace Math.
Defines M_PI and some more mathematical constants.
Defines class DoubleEllipse.
Cylinder(double radius, double height)
complex_t formfactor_at_bottom(C3 q) const override
void checkNodeArgs() const
Raises exception if a parameter value is invalid.
double J1c(double x)
Bessel function J1(x)/x.
double sinc(double x)
sinc function: