Jpp in_tag_pdf_generation
the software that should make you happy
Loading...
Searching...
No Matches
JMathSupportkit.hh File Reference

Auxiliary methods for mathematics. More...

#include <limits>
#include <cmath>
#include "JMath/JConstants.hh"
#include "JLang/JException.hh"

Go to the source code of this file.

Namespaces

namespace  JMATH
 Auxiliary classes and methods for mathematical operations.
 
namespace  JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

long long int JMATH::factorial (const long long int n)
 Determine factorial.
 
long long int JMATH::factorial (const long long int n, const long long int m)
 Determine combinatorics.
 
double JMATH::gauss (const double x, const double sigma)
 Gauss function (normalised to 1 at x = 0).
 
double JMATH::gauss (const double x, const double x0, const double sigma)
 Gauss function (normalised to 1 at x = x0).
 
double JMATH::Gauss (const double x, const double sigma)
 Normalised Gauss function.
 
double JMATH::Gauss (const double x, const double x0, const double sigma)
 Normalised Gauss function.
 
double JMATH::Gamma (const double a, const double x)
 Incomplete gamma function.
 
double JMATH::legendre (const size_t n, const double x)
 Legendre polynome.
 
double JMATH::binomial (const size_t n, const size_t k)
 Binomial function.
 
double JMATH::poisson (const size_t n, const double mu)
 Poisson probability density distribition.
 
double JMATH::Poisson (const size_t n, const double mu)
 Poisson cumulative density distribition.
 
double JMATH::getP (const double stdev)
 Get single-sided Gaussian probability for given number of standard deviations.
 
size_t JMATH::getNs (const double background, const double P)
 Get minimal number of events to exceed Poisson probability given number of background events.
 
double JMATH::getFs (const double background, const double P, const double precision)
 Get minimal number of events to exceed Poisson probability given number of background events.
 

Detailed Description

Auxiliary methods for mathematics.

Author
mdejong

Definition in file JMath/JMathSupportkit.hh.