Class corresponding to functions of the form \(x^{N/D}\) with integer N and D. More...
#include <Maths.h>
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[. | |
Class corresponding to functions of the form \(x^{N/D}\) with integer N and D.
|
inlinestatic |
Sample a distribution in a given interval given a flat random number R in the interval ]0,1[.
Definition at line 327 of file Maths.h.
References ThePEG::Math::Functions::FracPowX< N, D >::integrate(), and ThePEG::Math::Functions::FracPowX< N, D >::primitive().
|
inlinestatic |
Integrate function in a given interval.
Definition at line 321 of file Maths.h.
References ThePEG::Math::Functions::FracPowX< N, D >::primitive().
Referenced by ThePEG::Math::Functions::FracPowX< N, D >::generate().
|
inlinestatic |
The primitive function.
Definition at line 315 of file Maths.h.
Referenced by ThePEG::Math::Functions::FracPowX< N, D >::generate(), and ThePEG::Math::Functions::FracPowX< N, D >::integrate().