Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mixmax.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "CLHEP/Random/mixmax.h"
Include dependency graph for mixmax.cc:

Go to the source code of this file.

Namespaces

 CLHEP
 

Macros

#define __MIXMAX_C
 
#define MASK32   0xFFFFFFFFULL
 
#define FUSEDMODMULVEC
 
#define SKIPISON   1
 

Functions

int CLHEP::iterate (rng_state_t *X)
 
uint64_t CLHEP::MULWU (uint64_t)
 
myuint CLHEP::iterate_raw_vec (myuint *Y, myuint sumtotOld)
 
myuint CLHEP::get_next (rng_state_t *X)
 
double CLHEP::get_next_float (rng_state_t *X)
 
void CLHEP::fill_array (rng_state_t *X, unsigned int n, double *array)
 
void CLHEP::iterate_and_fill_array (rng_state_t *X, double *array)
 
myuint CLHEP::modadd (myuint foo, myuint bar)
 
rng_state_t * CLHEP::rng_alloc ()
 
int CLHEP::rng_free (rng_state_t *X)
 
rng_state_t * CLHEP::rng_copy (myuint *Y)
 
void CLHEP::seed_vielbein (rng_state_t *X, unsigned int i)
 
void CLHEP::seed_spbox (rng_state_t *X, myuint seed)
 
myuint CLHEP::precalc (rng_state_t *X)
 
int CLHEP::rng_get_N (void)
 
myuint CLHEP::fmodmulM61 (myuint cum, myuint s, myuint a)
 
void CLHEP::print_state (rng_state_t *X)
 
void CLHEP::read_state (rng_state_t *X, const char filename[])
 
void CLHEP::seed_uniquestream (rng_state_t *X, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID)
 

Macro Definition Documentation

#define __MIXMAX_C

Definition at line 33 of file mixmax.cc.

#define FUSEDMODMULVEC
Value:
{ for (i =0; i<N; i++){ \
cum[i] = fmodmulM61( cum[i], coeff , Y[i] ) ; \
} }
double Y(double density)
myuint fmodmulM61(myuint cum, myuint s, myuint a)
Definition: mixmax.cc:255
**D E S C R I P T I O N
Definition: HEPEvtcom.cc:77

Definition at line 339 of file mixmax.cc.

#define MASK32   0xFFFFFFFFULL

Definition at line 253 of file mixmax.cc.

#define SKIPISON   1

Definition at line 345 of file mixmax.cc.