Main MRPT website > C++ reference for MRPT 1.5.9
Functions
Fresnel integrals (<tt>\#include\<mrpt/math/fresnel.h\></tt>)

Detailed Description

Collaboration diagram for Fresnel integrals (<tt>\#include\<mrpt/math/fresnel.h\></tt>):

Functions

double BASE_IMPEXP mrpt::math::fresnel_sin_integral (double x) MRPT_NO_THROWS
 Evaluates the integral from 0 to x of sqrt(2/pi) sin(t^2) dt. More...
 
double BASE_IMPEXP mrpt::math::fresnel_cos_integral (double x) MRPT_NO_THROWS
 Evaluates the integral from 0 to x of sqrt(2/pi) cos(t^2) dt. More...
 

Function Documentation

◆ fresnel_cos_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()

See also
https://en.wikipedia.org/wiki/Fresnel_integral
Note
Code based on http://www.mymathlib.com/functions/fresnel_sin_cos_integrals.html

Definition at line 73 of file fresnel.cpp.

Referenced by TEST().

◆ fresnel_sin_integral()

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()

See also
https://en.wikipedia.org/wiki/Fresnel_integral
Note
Code based on http://www.mymathlib.com/functions/fresnel_sin_cos_integrals.html

Definition at line 68 of file fresnel.cpp.

Referenced by TEST().




Page generated by Doxygen 1.9.1 for MRPT 1.5.9 Git: 3344049dc Wed Apr 15 19:29:53 2020 +0200 at mar 26 may 2026 12:39:22 CEST