BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Functions.h File Reference

Defines functions in namespace Math. More...

Include dependency graph for Functions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Math
 Various mathematical functions.
 

Macros

#define BORNAGAIN_BASE_MATH_FUNCTIONS_H
 

Functions

double Math::cot (double x)
 cotangent function: $cot(x)\equiv1/tan(x)$ More...
 
double Math::erf (double arg)
 Error function of real-valued argument. More...
 
double Math::Gaussian (double x, double average, double std_dev)
 
double Math::GeneratePoissonRandom (double average)
 
double Math::IntegratedGaussian (double x, double average, double std_dev)
 
double Math::Laue (const double x, size_t N)
 Real Laue function: $Laue(x,N)\equiv\sin(Nx)/sin(x)$. More...
 
complex_t Math::sinc (const complex_t z)
 Complex sinc function: $sinc(x)\equiv\sin(x)/x$. More...
 
double Math::sinc (double x)
 sinc function: $sinc(x)\equiv\sin(x)/x$ More...
 
double Math::StandardNormal (double x)
 
complex_t Math::tanhc (const complex_t z)
 Complex tanhc function: $tanhc(x)\equiv\tanh(x)/x$. More...
 

Detailed Description

Defines functions in namespace Math.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file Functions.h.

Macro Definition Documentation

◆ BORNAGAIN_BASE_MATH_FUNCTIONS_H

#define BORNAGAIN_BASE_MATH_FUNCTIONS_H

Definition at line 21 of file Functions.h.