AdvancedMathFresnel Method

Computes the Fresnel cosine and sine integrals.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static Complex Fresnel(
	double x
)

Parameters

x  Double
The argument.

Return Value

Complex
The value C(x) + i S(x).

Remarks

If you need both C(x) and S(x), it is more efficient to call this function than to call FresnelC(Double) and FresnelS(Double) seperately.

Our definition of C(x) and S(x) agrees with that of Abromowitz and Stegun, the NIST Library of Mathematical Functions, Numerical Recipies, Mathematica, Matlab, SciPy, and any every other reference book and numerical software library I can find. Wikipedia, however uses an alternative definition.

A plot of all values of this function in the complex plane as x ranges from negative infinity to positive infinity is called a Cornu spiral.

The Fresnel function can be related to the complex error function along the line (1-𝑖).

See Also