Logo ROOT   6.12/07
Reference Guide
Macros | Functions
mixmax.icc File Reference
#include "mixmax.h"
#include "mixmax_skip_N240.icc"
Include dependency graph for mixmax.icc:
This graph shows which files directly or indirectly include this file:

Macros

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

Functions

myuint apply_bigskip (myuint *Vout, myuint *Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID)
 
void branch_inplace (rng_state_t *Xin, myID_t *IDvec)
 
void fill_array (rng_state_t *X, unsigned int n, double *array)
 
myuint fmodmulM61 (myuint cum, myuint s, myuint a)
 
myuint get_next (rng_state_t *X)
 
double get_next_float (rng_state_t *X)
 
int iterate (rng_state_t *X)
 
void iterate_and_fill_array (rng_state_t *X, double *array)
 
myuint iterate_raw_vec (myuint *Y, myuint sumtotOld)
 
myuint modadd (myuint foo, myuint bar)
 
uint64_t MULWU (uint64_t k)
 
myuint precalc (rng_state_t *X)
 
void print_state (rng_state_t *X)
 
void read_state (rng_state_t *X, const char filename[])
 
rng_state_trng_alloc ()
 
rng_state_trng_copy (myuint *Y)
 
int rng_free (rng_state_t *X)
 
int rng_get_N (void)
 
void seed_spbox (rng_state_t *X, myuint seed)
 
void seed_uniquestream (rng_state_t *Xin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID)
 
void seed_vielbein (rng_state_t *X, unsigned int index)
 

Macro Definition Documentation

◆ __MIXMAX_C [1/2]

#define __MIXMAX_C

Definition at line 31 of file MixMaxEngineImpl.h.

◆ __MIXMAX_C [2/2]

#define __MIXMAX_C

◆ FUSEDMODMULVEC [1/2]

#define FUSEDMODMULVEC
Value:
{ for (i =0; i<N; i++){ \
cum[i] = fmodmulM61( cum[i], coeff , Y[i] ) ; \
} }
#define N
myuint fmodmulM61(myuint cum, myuint s, myuint a)
Definition: mixmax.icc:258

◆ FUSEDMODMULVEC [2/2]

#define FUSEDMODMULVEC
Value:
{ for (i =0; i<N; i++){ \
cum[i] = fmodmulM61( cum[i], coeff , Y[i] ) ; \
} }
myuint fmodmulM61(myuint cum, myuint s, myuint a)
Definition: mixmax.icc:258
#define N

Definition at line 342 of file MixMaxEngineImpl.h.

◆ MASK32 [1/2]

#define MASK32   0xFFFFFFFFULL

Definition at line 256 of file MixMaxEngineImpl.h.

◆ MASK32 [2/2]

#define MASK32   0xFFFFFFFFULL

◆ OLDSKIP [1/2]

#define OLDSKIP   0

Definition at line 349 of file MixMaxEngineImpl.h.

◆ OLDSKIP [2/2]

#define OLDSKIP   0

◆ SKIPISON [1/2]

#define SKIPISON   1

◆ SKIPISON [2/2]

#define SKIPISON   1

Definition at line 348 of file MixMaxEngineImpl.h.

Function Documentation

◆ apply_bigskip()

myuint apply_bigskip ( myuint Vout,
myuint Vin,
myID_t  clusterID,
myID_t  machineID,
myID_t  runID,
myID_t  streamID 
)

Definition at line 398 of file mixmax.icc.

◆ branch_inplace()

void branch_inplace ( rng_state_t Xin,
myID_t IDvec 
)

Definition at line 394 of file mixmax.icc.

◆ fill_array()

void fill_array ( rng_state_t X,
unsigned int  n,
double *  array 
)

Definition at line 85 of file mixmax.icc.

◆ fmodmulM61()

myuint fmodmulM61 ( myuint  cum,
myuint  s,
myuint  a 
)
inline

Definition at line 258 of file mixmax.icc.

◆ get_next()

myuint get_next ( rng_state_t X)

Definition at line 77 of file mixmax.icc.

◆ get_next_float()

double get_next_float ( rng_state_t X)

Definition at line 81 of file mixmax.icc.

◆ iterate()

int iterate ( rng_state_t X)

Definition at line 34 of file mixmax.icc.

◆ iterate_and_fill_array()

void iterate_and_fill_array ( rng_state_t X,
double *  array 
)

Definition at line 105 of file mixmax.icc.

◆ iterate_raw_vec()

myuint iterate_raw_vec ( myuint Y,
myuint  sumtotOld 
)

Definition at line 47 of file mixmax.icc.

◆ modadd()

myuint modadd ( myuint  foo,
myuint  bar 
)

Definition at line 137 of file mixmax.icc.

◆ MULWU()

uint64_t MULWU ( uint64_t  k)
inline

Definition at line 40 of file mixmax.icc.

◆ precalc()

myuint precalc ( rng_state_t X)

Definition at line 228 of file mixmax.icc.

◆ print_state()

void print_state ( rng_state_t X)

Definition at line 273 of file mixmax.icc.

◆ read_state()

void read_state ( rng_state_t X,
const char  filename[] 
)

Definition at line 286 of file mixmax.icc.

◆ rng_alloc()

rng_state_t* rng_alloc ( )

Definition at line 154 of file mixmax.icc.

◆ rng_copy()

rng_state_t* rng_copy ( myuint Y)

Definition at line 168 of file mixmax.icc.

◆ rng_free()

int rng_free ( rng_state_t X)

Definition at line 162 of file mixmax.icc.

◆ rng_get_N()

int rng_get_N ( void  )

Definition at line 240 of file mixmax.icc.

◆ seed_spbox()

void seed_spbox ( rng_state_t X,
myuint  seed 
)

Definition at line 205 of file mixmax.icc.

◆ seed_uniquestream()

void seed_uniquestream ( rng_state_t Xin,
myID_t  clusterID,
myID_t  machineID,
myID_t  runID,
myID_t  streamID 
)

Definition at line 361 of file mixmax.icc.

◆ seed_vielbein()

void seed_vielbein ( rng_state_t X,
unsigned int  index 
)

Definition at line 188 of file mixmax.icc.