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

Detailed Description

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

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.8.14 for MRPT 1.5.7 Git: 8277875f6 Mon Jun 11 02:47:32 2018 +0200 at lun oct 28 01:50:49 CET 2019