thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::Math::Functions::InvX1mX Struct Reference

Class corresponding to functions of the form \(1/(x(1-x))\). More...

#include <Maths.h>

Inheritance diagram for ThePEG::Math::Functions::InvX1mX:

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

Class corresponding to functions of the form \(1/(x(1-x))\).

Definition at line 267 of file Maths.h.

Member Function Documentation

◆ generate()

static double ThePEG::Math::Functions::InvX1mX::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 281 of file Maths.h.

◆ integrate()

static double ThePEG::Math::Functions::InvX1mX::integrate ( double  x0,
double  x1 
)
inlinestatic

Integrate function in a given interval.

Definition at line 275 of file Maths.h.

◆ primitive()

static double ThePEG::Math::Functions::InvX1mX::primitive ( double  x)
inlinestatic

The primitive function.

Definition at line 270 of file Maths.h.


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