Fresnel integrals (<tt>#include
Overview
<mrpt/math/fresnel.h
>)
// global functions double mrpt::math::fresnel_sin_integral(double x); double mrpt::math::fresnel_cos_integral(double x); long double mrpt::math::lfresnel_sin_integral(long double x); long double mrpt::math::lfresnel_cos_integral(long double x);
Global Functions
double mrpt::math::fresnel_sin_integral(double x)
Evaluates the integral from 0 to x of sqrt(2/pi) sin(t^2) dt.
Equivalent to MATLAB fresnels() Code based on http://www.mymathlib.com/functions/fresnel_sin_cos_integrals.html
See also:
https://en.wikipedia.org/wiki/Fresnel_integral
double mrpt::math::fresnel_cos_integral(double x)
Evaluates the integral from 0 to x of sqrt(2/pi) cos(t^2) dt.
Equivalent to MATLAB fresnelc() Code based on http://www.mymathlib.com/functions/fresnel_sin_cos_integrals.html
See also:
https://en.wikipedia.org/wiki/Fresnel_integral
long double mrpt::math::lfresnel_sin_integral(long double x)
long double version of fresnel_sin_integral
long double mrpt::math::lfresnel_cos_integral(long double x)
long double version of fresnel_cos_integral