39#if defined(USE_FUJITSU_FCC_SSL)
41#elif !defined(USE_DSFMT) && defined(USE_INTEL_MKL)
44#include "ytRNG_dSFMT.h"
61#if defined(USE_FUJITSU_FCC_SSL)
65 double * ssl_dvrau4_work;
67 int ssl_dvrau4_work_size;
72 double * ssl_dvran3_work;
74 int ssl_dvran3_work_size;
75#elif !defined(USE_DSFMT) && defined(USE_INTEL_MKL)
76 VSLStreamStatePtr mkl_vsl_stream;
79 double work[DSFMT_N64];
91int ytRNG_debug(
int argc,
char * argv[]);
Definition: ytRNG_dSFMT.h:220
Structure for encapsulating the random number generator.
Definition: ytRNG.h:60
void ytRNG_integer(ytRNG *rng, int *ar, int n, int min, int max)
Generates integer random numbers.
Definition: ytRNG.c:236
void ytRNG_delete(ytRNG *rng)
Releases the resources allocated for the ytRNG instance.
Definition: ytRNG.c:91
void ytRNG_setSeed(ytRNG *rng, int seed)
Initializes the random number generator.
Definition: ytRNG.c:124
void ytRNG_uniform(ytRNG *rng, double *ar, int n, double min, double max)
Generates the normally distributed random numbers.
Definition: ytRNG.c:193
void ytRNG_normal(ytRNG *rng, double *ar, int n, double mean, double sigma)
Generates the normally distributed random numbers.
Definition: ytRNG.c:160
ytRNG * ytRNG_new()
Generates an ytRNG instance.
Definition: ytRNG.c:62
void ytRNG_shuffle(ytRNG *rng, int *ar, int n)
Shuffles the elements of the integer array.
Definition: ytRNG.c:293
void ytRNG_perm(ytRNG *rng, int *ar, int n)
Generates an integer random permuation vector.
Definition: ytRNG.c:271