# Function G2lib::GeneralizedFresnelCS(real_type, real_type, real_type, real_type&, real_type&)

- Defined in File Fresnel.cc

## Function Documentation

void G2lib::GeneralizedFresnelCS(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

    - a – parameter \( a \)

    - b – parameter \( b \)

    - c – parameter \( c \)

    - intC – cosine integrals,

    - intS – sine integrals