COMBINATORIAL_BLAS  1.6
splittable_mrg.h File Reference
#include <stdint.h>

Go to the source code of this file.

Classes

struct  mrg_transition_matrix
 
struct  mrg_state
 

Typedefs

typedef struct mrg_transition_matrix mrg_transition_matrix
 
typedef struct mrg_state mrg_state
 

Functions

uint_fast32_t mrg_get_uint (const mrg_transition_matrix *mat, mrg_state *state)
 
double mrg_get_double (const mrg_transition_matrix *mat, mrg_state *state)
 
uint_fast32_t mrg_get_uint_orig (mrg_state *state)
 
double mrg_get_double_orig (mrg_state *state)
 
void mrg_init (mrg_transition_matrix *tm, mrg_state *st)
 
void mrg_seed (mrg_state *st, const uint_fast32_t seed[5])
 
void mrg_split_matrix (const mrg_transition_matrix *tm_in, mrg_transition_matrix *tm_out, unsigned int n)
 
void mrg_split_state (const mrg_transition_matrix *tm_in, const mrg_state *st_in, mrg_state *st_out, unsigned int n)
 
void mrg_skip (mrg_state *state, uint_least64_t exponent_high, uint_least64_t exponent_middle, uint_least64_t exponent_low)
 

Typedef Documentation

◆ mrg_state

typedef struct mrg_state mrg_state

◆ mrg_transition_matrix

Function Documentation

◆ mrg_get_double()

double mrg_get_double ( const mrg_transition_matrix mat,
mrg_state state 
)

◆ mrg_get_double_orig()

double mrg_get_double_orig ( mrg_state state)

◆ mrg_get_uint()

uint_fast32_t mrg_get_uint ( const mrg_transition_matrix mat,
mrg_state state 
)

◆ mrg_get_uint_orig()

uint_fast32_t mrg_get_uint_orig ( mrg_state state)

◆ mrg_init()

void mrg_init ( mrg_transition_matrix tm,
mrg_state st 
)

◆ mrg_seed()

void mrg_seed ( mrg_state st,
const uint_fast32_t  seed[5] 
)

◆ mrg_skip()

void mrg_skip ( mrg_state state,
uint_least64_t  exponent_high,
uint_least64_t  exponent_middle,
uint_least64_t  exponent_low 
)

◆ mrg_split_matrix()

void mrg_split_matrix ( const mrg_transition_matrix tm_in,
mrg_transition_matrix tm_out,
unsigned int  n 
)

◆ mrg_split_state()

void mrg_split_state ( const mrg_transition_matrix tm_in,
const mrg_state st_in,
mrg_state st_out,
unsigned int  n 
)