thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::Math::Functions::Pow1mX< N > Struct Template Reference

Class corresponding to functions of the form $(1-x)^N$ with integer N. More...

#include <Maths.h>

Inheritance diagram for ThePEG::Math::Functions::Pow1mX< N >:

Static Public Member Functions

static double primitive (double x)
 The primitive function. More...
 
static double integrate (double x0, double x1)
 Integrate function in a given interval. More...
 
static double generate (double x0, double x1, double R)
 Sample a distribution in a given interval given a flat random number R in the interval ]0,1[. More...
 

Detailed Description

template<int N>
struct ThePEG::Math::Functions::Pow1mX< N >

Class corresponding to functions of the form $(1-x)^N$ with integer N.

Definition at line 246 of file Maths.h.

Member Function Documentation

◆ generate()

template<int N>
static double ThePEG::Math::Functions::Pow1mX< N >::generate ( double  x0,
double  x1,
double  R 
)
inlinestatic

Sample a distribution in a given interval given a flat random number R in the interval ]0,1[.

Definition at line 260 of file Maths.h.

◆ integrate()

template<int N>
static double ThePEG::Math::Functions::Pow1mX< N >::integrate ( double  x0,
double  x1 
)
inlinestatic

Integrate function in a given interval.

Definition at line 254 of file Maths.h.

◆ primitive()

template<int N>
static double ThePEG::Math::Functions::Pow1mX< N >::primitive ( double  x)
inlinestatic

The primitive function.

Definition at line 249 of file Maths.h.


The documentation for this struct was generated from the following file: