Main       Download       Commercial support       FAQ       Forum       About Us

Fresnel integrals C(x) and S(x)

Fresnel integrals C(x) and S(x) are defined as C(x) = integral(cos(pi t 2/2)dt,0,x) and S(x) = integral(sin(pi t 2/2)dt,0,x).

Some sources don't use multiplier before t 2 (in this case, the integral is multiplied by the scaling coefficient), so you should watch closely what integral is being referred to.

FresnelIntegral subroutine calculates C(x) and S(x) using piecewise rational approximation.

This article is intended for personal use only.

Download ALGLIB

C#

C# source.

Downloads page

 

C++

C++ source.

Downloads page

 

C++, multiple precision arithmetic

C++ source. MPFR/GMP is used.

GMP source is available from gmplib.org. MPFR source is available from www.mpfr.org.

Downloads page

 

FreePascal

FreePascal version.

Downloads page

 

Delphi

Delphi version.

Downloads page

 

VB.NET

VB.NET version.

Downloads page

 

VBA

VBA version.

Downloads page

 

Python

Python version (CPython and IronPython are supported).

Downloads page

 

 

ALGLIB® - numerical analysis library, 1999-2012.
ALGLIB is a registered trademark of the ALGLIB Project.