Skip to main content

fresnel_integrals

Function fresnel_integrals 

Source
pub fn fresnel_integrals(x: f64) -> (f64, f64)
Expand description

The Fresnel integrals (S(x), C(x)) with S(x) = ∫₀ˣ sin(πt²/2) dt and C(x) = ∫₀ˣ cos(πt²/2) dt.

Both are odd in x; the limits as x → ±∞ are ±1/2.