fresnelsintegrals

Calculates the Fresnel integral S(x). It is a transcendental function named after Augustin-Jean Fresnel that is used in optics, which is closely related to the error function (erf). Depending on input, function can return scalar, vector, matrix or complex number.

Arguments

  1. Real value x

Output

Real value result

Examples

fresnelsintegrals