|
SDDS ToolKit Programs and Libraries for C and Python
|
LAPACK-based random number generator.
Translation of the LAPACK auxiliary routine DLARAN using the f2c tool. Generates uniform random numbers in the interval (0, 1) using a 48-bit seed stored across four 12-bit integers.
Definition in file dlaran.c.
#include "f2c.h"Go to the source code of this file.
Functions | |
| doublereal | dlaran_ (integer *iseed) |
| Generates a random number using the DLARAN algorithm. | |
| doublereal | dlaran_oag (integer *iseed, long increment) |
| Advance the DLARAN seed and return a random number. | |
| doublereal dlaran_ | ( | integer * | iseed | ) |
Generates a random number using the DLARAN algorithm.
| iseed | Seed array of four integers. Updated in place. |
Definition at line 34 of file dlaran.c.
| doublereal dlaran_oag | ( | integer * | iseed, |
| long | increment ) |
Advance the DLARAN seed and return a random number.
| iseed | Seed array of four integers. Updated in place. |
| increment | Number of times to update the seed before returning the new value. |
Definition at line 133 of file dlaran.c.