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 >:

ThePEG::Math::MathType

List of all members.

Static Public Member Functions

static double primitive (double x)
 The primitive function.
static double integrate (double x0, double x1)
 Integrate function in a given interval.
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[.


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 255 of file Maths.h.


Member Function Documentation

template<int N>
static double ThePEG::Math::Functions::Pow1mX< N >::primitive ( double  x  )  [inline, static]

The primitive function.

Definition at line 258 of file Maths.h.

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

Integrate function in a given interval.

Definition at line 263 of file Maths.h.

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

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

Definition at line 269 of file Maths.h.


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

Generated on Thu Apr 29 12:43:32 2010 for ThePEG by  doxygen 1.5.5