![]() |
ScalES-PPM
|
PRNG C interface. More...
Macros | |
| #define | IRAND_MIN (INT_MIN + 1) |
| #define | IRAND_MAX INT_MAX |
Functions | |
| unsigned int | PPM_ya_rand_init (MPI_Comm comm, int) |
| void | PPM_ya_rand_finish (void) |
| int | PPM_irandp (void) |
| int | PPM_irand (void) |
| uint32_t | PPM_ya_random (void) |
| uint64_t | PPM_ya_random64 (void) |
| int64_t | PPM_irandp8 (void) |
| int64_t | PPM_irand8 (void) |
| int | PPM_irandr (struct PPM_iinterval range) |
| int64_t | PPM_irandr8 (struct PPM_iinterval64 range) |
| void | PPM_irand_a (int *a, size_t n) |
| void | PPM_irandp_a (int *a, size_t n) |
| void | PPM_irandr_a (int *a, size_t n, struct PPM_iinterval range) |
| void | PPM_irand_mt_a (int *a, size_t n) |
| void | PPM_irandp_mt_a (int *a, size_t n) |
| void | PPM_irandr_mt_a (int *a, size_t n, struct PPM_iinterval range) |
| double | PPM_drand (void) |
| double | PPM_ya_fsgrandom (void) |
| double | PPM_drandp (void) |
| double | PPM_ya_frandom (void) |
| double | PPM_drandr (struct PPM_iinterval_dp range) |
| void | PPM_drand_a (double *a, size_t n) |
| void | PPM_drand_mt_a (double *a, size_t n) |
| void | PPM_drandp_a (double *a, size_t n) |
| void | PPM_drandp_mt_a (double *a, size_t n) |
| void | PPM_drandr_a (double *a, size_t n, struct PPM_iinterval_dp range) |
| void | PPM_drandr_mt_a (double *a, size_t n, struct PPM_iinterval_dp range) |
| float | PPM_frand (void) |
| float | PPM_ya_fsgrandomf (void) |
| float | PPM_frandp (void) |
| float | PPM_ya_frandomf (void) |
| float | PPM_frandr (struct PPM_iinterval_sp range) |
| void | PPM_frand_a (float *a, size_t n) |
| void | PPM_frand_mt_a (float *a, size_t n) |
| void | PPM_frandp_a (float *a, size_t n) |
| void | PPM_frandp_mt_a (float *a, size_t n) |
| void | PPM_frandr_a (float *a, size_t n, struct PPM_iinterval_sp range) |
| void | PPM_frandr_mt_a (float *a, size_t n, struct PPM_iinterval_sp range) |
| void | PPM_irand8_a (int64_t *a, size_t n) |
| void | PPM_irand8_mt_a (int64_t *a, size_t n) |
| void | PPM_irandp8_a (int64_t *a, size_t n) |
| void | PPM_irandp8_mt_a (int64_t *a, size_t n) |
| void | PPM_irandr8_a (int64_t *a, size_t n, struct PPM_iinterval64 range) |
| void | PPM_irandr8_mt_a (int64_t *a, size_t n, struct PPM_iinterval64 range) |
| double PPM_drand | ( | void | ) |
PRNG function for uniformly distributed double precision floating-point quantities. This routine is synonymous with PPM_ya_fsgrandom.
| void PPM_drand_a | ( | double * | a, |
| size_t | n ) |
PRNG function for array of type double
| a | pointer to array to fill with random numbers in range (-1.0,1.0) |
| n | number of elements in a to fill |
| void PPM_drand_mt_a | ( | double * | a, |
| size_t | n ) |
PRNG function for array of type double, must be called from all threads of an OpenMP thread team.
| a | pointer to array to fill with random numbers in range (-1.0,1.0) |
| n | number of elements in a to fill |
| double PPM_drandp | ( | void | ) |
PRNG function for uniformly distributed double precision floating-point quantities. This routine is synonymous with PPM_ya_frandom.
| void PPM_drandp_a | ( | double * | a, |
| size_t | n ) |
PRNG function for array of type double
| a | pointer to array to fill with random numbers in range [0.0,1.0) |
| n | number of elements in a to fill |
| void PPM_drandp_mt_a | ( | double * | a, |
| size_t | n ) |
PRNG function for array of type double, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [0.0,1.0) |
| n | number of elements in a to fill |
| double PPM_drandr | ( | struct PPM_iinterval_dp | range | ) |
PRNG function for uniformly distributed double precision floating-point quantities This routine is synonymous with PPM_drandp.
| range | range in which to generate random numbers |
| void PPM_drandr_a | ( | double * | a, |
| size_t | n, | ||
| struct PPM_iinterval_dp | range ) |
PRNG function for array of type double
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| void PPM_drandr_mt_a | ( | double * | a, |
| size_t | n, | ||
| struct PPM_iinterval_dp | range ) |
PRNG function for array of type double, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| float PPM_frand | ( | void | ) |
PRNG function for uniformly distributed single precision floating-point quantities. This routine is synonymous with PPM_ya_fsgrandom.
| void PPM_frand_a | ( | float * | a, |
| size_t | n ) |
PRNG function for array of type float
| a | pointer to array to fill with random numbers in range (-1.0,1.0) |
| n | number of elements in a to fill |
| void PPM_frand_mt_a | ( | float * | a, |
| size_t | n ) |
PRNG function for array of type float, must be called from all threads of an OpenMP thread team.
| a | pointer to array to fill with random numbers in range (-1.0,1.0) |
| n | number of elements in a to fill |
| float PPM_frandp | ( | void | ) |
PRNG function for uniformly distributed single precision floating-point quantities. This routine is synonymous with PPM_ya_frandom.
| void PPM_frandp_a | ( | float * | a, |
| size_t | n ) |
PRNG function for array of type float
| a | pointer to array to fill with random numbers in range [0.0,1.0) |
| n | number of elements in a to fill |
| void PPM_frandp_mt_a | ( | float * | a, |
| size_t | n ) |
PRNG function for array of type float, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [0.0,1.0) |
| n | number of elements in a to fill |
| float PPM_frandr | ( | struct PPM_iinterval_sp | range | ) |
PRNG function for uniformly distributed single precision floating-point quantities This routine is synonymous with PPM_frandp.
| range | range in which to generate random numbers |
| void PPM_frandr_a | ( | float * | a, |
| size_t | n, | ||
| struct PPM_iinterval_sp | range ) |
PRNG function for array of type float
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| void PPM_frandr_mt_a | ( | float * | a, |
| size_t | n, | ||
| struct PPM_iinterval_sp | range ) |
PRNG function for array of type float, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| int PPM_irand | ( | void | ) |
PRNG function for type int
| int64_t PPM_irand8 | ( | void | ) |
PRNG function for type int int64_t
| void PPM_irand8_a | ( | int64_t * | a, |
| size_t | n ) |
PRNG function for array of type int64_t
| a | pointer to array to fill with random numbers in range [-2^63+1,2^63-1] |
| n | number of elements in a to fill |
| void PPM_irand8_mt_a | ( | int64_t * | a, |
| size_t | n ) |
PRNG function for array of type int64_t, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [-2^63+1,2^63-1] |
| n | number of elements in a to fill |
| void PPM_irand_a | ( | int * | a, |
| size_t | n ) |
PRNG function for array of type int
| a | pointer to array to fill with random numbers in range [IRAND_MIN,IRAND_MAX] |
| n | number of elements in a to fill |
| void PPM_irand_mt_a | ( | int * | a, |
| size_t | n ) |
PRNG function for array of type int, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [IRAND_MIN,IRAND_MAX] |
| n | number of elements in a to fill |
| int PPM_irandp | ( | void | ) |
PRNG function for type int
| int64_t PPM_irandp8 | ( | void | ) |
PRNG function for type int int64_t
| void PPM_irandp8_a | ( | int64_t * | a, |
| size_t | n ) |
PRNG function for array of type int64_t
| a | pointer to array to fill with random numbers in range [0,2^63-1] |
| n | number of elements in a to fill |
| void PPM_irandp8_mt_a | ( | int64_t * | a, |
| size_t | n ) |
PRNG function for array of type int64_t, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [0,2^63-1] |
| n | number of elements in a to fill |
| void PPM_irandp_a | ( | int * | a, |
| size_t | n ) |
PRNG function for array of type int
| a | pointer to array to fill with random numbers in range [0,IRAND_MAX] |
| n | number of elements in a to fill |
| void PPM_irandp_mt_a | ( | int * | a, |
| size_t | n ) |
PRNG function for array of type int, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [0,IRAND_MAX] |
| n | number of elements in a to fill |
| int PPM_irandr | ( | struct PPM_iinterval | range | ) |
PRNG function for type int
| range | range in which to generate random number |
| int64_t PPM_irandr8 | ( | struct PPM_iinterval64 | range | ) |
PRNG function for type int64_t
| range | range in which to generate random number |
| void PPM_irandr8_a | ( | int64_t * | a, |
| size_t | n, | ||
| struct PPM_iinterval64 | range ) |
PRNG function for array of type int64_t
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| void PPM_irandr8_mt_a | ( | int64_t * | a, |
| size_t | n, | ||
| struct PPM_iinterval64 | range ) |
PRNG function for array of type int64_t, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| void PPM_irandr_a | ( | int * | a, |
| size_t | n, | ||
| struct PPM_iinterval | range ) |
PRNG function for array of type int
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| void PPM_irandr_mt_a | ( | int * | a, |
| size_t | n, | ||
| struct PPM_iinterval | range ) |
PRNG function for array of type int, must be called from all threads of an OpenMP thread team
| a | pointer to array to fill with random numbers in range [range.first,range.last] |
| n | number of elements in a to fill |
| range | range in which to generate random numbers |
| double PPM_ya_frandom | ( | void | ) |
PRNG function for uniformly distributed double precision floating-point quantities This routine is synonymous with PPM_drandp.
| float PPM_ya_frandomf | ( | void | ) |
PRNG function for uniformly distributed single precision floating-point quantities This routine is synonymous with PPM_frandp.
| double PPM_ya_fsgrandom | ( | void | ) |
PRNG function for uniformly distributed double precision floating-point quantities This routine is synonymous with PPM_drand.
| float PPM_ya_fsgrandomf | ( | void | ) |
PRNG function for uniformly distributed single precision floating-point quantities This routine is synonymous with PPM_frand.
| uint32_t PPM_ya_random | ( | void | ) |
PRNG function for type int uint32_t
| uint64_t PPM_ya_random64 | ( | void | ) |
PRNG function for type int uint64_t
Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.
1.13.2