Function G2lib::GeneralizedFresnelCS(int_type, real_type, real_type, real_type, real_type *, real_type *)

Function Documentation

void G2lib::GeneralizedFresnelCS(int_type nk, real_type a, real_type b, real_type c, real_type *intC, real_type *intS)

Compute the Fresnel integrals

\[ \int_0^1 t^k \cos\left(a\frac{t^2}{2} + b t + c\right) dt,\qquad \int_0^1 t^k \sin\left(a\frac{t^2}{2} + b t + c\right) dt \]
Parameters
  • nk – number of momentae to compute

  • a – parameter \( a \)

  • b – parameter \( b \)

  • c – parameter \( c \)

  • intC – cosine integrals,

  • intS – sine integrals