Geant4-11
Functions | Variables
G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc} Namespace Reference

Functions

G4double inverseGaussianCDFRational (const G4double t)
 

Variables

const G4double gcdfa1 = 0.254829592
 
const G4double gcdfa2 = -0.284496736
 
const G4double gcdfa3 = 1.421413741
 
const G4double gcdfa4 = -1.453152027
 
const G4double gcdfa5 = 1.061405429
 
const G4double gcdfp = 0.3275911
 
const G4double igcdfc1 = 2.515517
 
const G4double igcdfc2 = 0.802853
 
const G4double igcdfc3 = 0.010328
 
const G4double igcdfd1 = 1.432788
 
const G4double igcdfd2 = 0.189269
 
const G4double igcdfd3 = 0.001308
 

Function Documentation

◆ inverseGaussianCDFRational()

G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::inverseGaussianCDFRational ( const G4double  t)

Definition at line 65 of file G4INCLGlobals.cc.

65 {
66 // Abramowitz and Stegun formula 26.2.23.
67 // The absolute value of the error should be less than 4.5 e-4.
68 return t - ((igcdfc3*t + igcdfc2)*t + igcdfc1) /
69 (((igcdfd3*t + igcdfd2)*t + igcdfd1)*t + 1.0);
70 }

References igcdfc1, igcdfc2, igcdfc3, igcdfd1, igcdfd2, and igcdfd3.

Referenced by G4INCL::Math::inverseGaussianCDF().

Variable Documentation

◆ gcdfa1

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::gcdfa1 = 0.254829592

Definition at line 50 of file G4INCLGlobals.cc.

Referenced by G4INCL::Math::gaussianCDF().

◆ gcdfa2

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::gcdfa2 = -0.284496736

Definition at line 51 of file G4INCLGlobals.cc.

Referenced by G4INCL::Math::gaussianCDF().

◆ gcdfa3

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::gcdfa3 = 1.421413741

Definition at line 52 of file G4INCLGlobals.cc.

Referenced by G4INCL::Math::gaussianCDF().

◆ gcdfa4

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::gcdfa4 = -1.453152027

Definition at line 53 of file G4INCLGlobals.cc.

Referenced by G4INCL::Math::gaussianCDF().

◆ gcdfa5

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::gcdfa5 = 1.061405429

Definition at line 54 of file G4INCLGlobals.cc.

Referenced by G4INCL::Math::gaussianCDF().

◆ gcdfp

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::gcdfp = 0.3275911

Definition at line 55 of file G4INCLGlobals.cc.

Referenced by G4INCL::Math::gaussianCDF().

◆ igcdfc1

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::igcdfc1 = 2.515517

Definition at line 58 of file G4INCLGlobals.cc.

Referenced by inverseGaussianCDFRational().

◆ igcdfc2

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::igcdfc2 = 0.802853

Definition at line 59 of file G4INCLGlobals.cc.

Referenced by inverseGaussianCDFRational().

◆ igcdfc3

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::igcdfc3 = 0.010328

Definition at line 60 of file G4INCLGlobals.cc.

Referenced by inverseGaussianCDFRational().

◆ igcdfd1

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::igcdfd1 = 1.432788

Definition at line 61 of file G4INCLGlobals.cc.

Referenced by inverseGaussianCDFRational().

◆ igcdfd2

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::igcdfd2 = 0.189269

Definition at line 62 of file G4INCLGlobals.cc.

Referenced by inverseGaussianCDFRational().

◆ igcdfd3

const G4double G4INCL::Math::anonymous_namespace{G4INCLGlobals.cc}::igcdfd3 = 0.001308

Definition at line 63 of file G4INCLGlobals.cc.

Referenced by inverseGaussianCDFRational().