Skip to main content

fresnel

Function fresnel 

Source
pub fn fresnel<T: FresnelArg>(z: T) -> (T, T)
Expand description

Fresnel integrals $S(z)$ and $C(z)$ for real or complex argument

The Fresnel integrals are defined as:

  • $S(z) = \int_0^z \sin(\pi t^2 / 2) \dd t$
  • $C(z) = \int_0^z \cos(\pi t^2 / 2) \dd t$

where the integrals are taken from 0 to $z$.

Corresponds to scipy.special.fresnel

ยงSee also