GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
random-coll.h
Go to the documentation of this file.
1 // $Id: random-coll.h 1359 2015-01-27 15:12:43Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef random_coll_h
15 #define random_coll_h
16 
17  double p_dBeta (double a,double b, unsigned int *seed);
18  int p_iBinomial (double p,int n,unsigned int *seed);
19  double p_dExponential (double lambda,unsigned int *seed);
20  double p_dGammaInt (int a,unsigned int *seed);
21  double p_dGammaGen (double A,unsigned *seed);
22  int p_iGeometric (double p,unsigned int *seed);
23  double p_dNormal (double mean,double sigma, unsigned int *seed);
24  int p_iPoisson(double mu,unsigned *seed);
25  unsigned p_iUniform (unsigned *seed);
26  double p_dUniform(unsigned *seed);
27 
28 #endif
double p_dBeta(double a, double b, unsigned int *seed)
Definition: random-coll.c:141
double p_dGammaGen(double A, unsigned *seed)
Definition: random-coll.c:316
tuple a
Definition: go4init.py:12
double p_dGammaInt(int a, unsigned int *seed)
Definition: random-coll.c:276
int p_iPoisson(double mu, unsigned *seed)
Definition: random-coll.c:460
double p_dExponential(double lambda, unsigned int *seed)
Definition: random-coll.c:234
int p_iGeometric(double p, unsigned int *seed)
Definition: random-coll.c:399
double p_dNormal(double mean, double sigma, unsigned int *seed)
Definition: random-coll.c:429
int p_iBinomial(double p, int n, unsigned int *seed)
Definition: random-coll.c:196
double p_dUniform(unsigned *seed)
Definition: random-coll.c:126
unsigned p_iUniform(unsigned *seed)
Definition: random-coll.c:113