Prototypes | |
| INT4 | XLALBasicRandom (INT4 i) |
| RandomParams * | XLALCreateRandomParams (INT4 seed) |
| void | XLALResetRandomParams (RandomParams *params, INT4 seed) |
| void | XLALDestroyRandomParams (RandomParams *params) |
| REAL4 | XLALUniformDeviate (RandomParams *params) |
| int | XLALNormalDeviates (REAL4Vector *deviates, RandomParams *params) |
| REAL4 | XLALNormalDeviate (RandomParams *params) |
| void | LALCreateRandomParams (LALStatus *status, RandomParams **params, INT4 seed) |
| void | LALDestroyRandomParams (LALStatus *status, RandomParams **params) |
| void | LALUniformDeviate (LALStatus *status, REAL4 *deviate, RandomParams *params) |
| void | LALNormalDeviates (LALStatus *status, REAL4Vector *deviates, RandomParams *params) |
Go to the source code of this file.
Data Structures | |
| struct | RandomParams |
| This structure contains the parameters necessary for generating the current sequence of random numbers (based on the initial seed). More... | |
Macros | |
Error Codes | |
| #define | RANDOMH_ENULL 1 |
| Null pointer. More... | |
| #define | RANDOMH_ENNUL 2 |
| Non-null pointer. More... | |
| #define | RANDOMH_ESIZE 4 |
| Invalid size. More... | |
| #define | RANDOMH_ELNTH 8 |
| Must have more than one data point. More... | |
| #define | RANDOMH_ESEGZ 16 |
| Invalid number of segments. More... | |
| #define | RANDOMH_ENUMZ 32 |
| Invalid number of points in segment. More... | |
| #define | RANDOMH_EALOC 64 |
| Memory Allocation Error. More... | |
| #define | RANDOMH_EINIT 128 |
| Params must be initialized with CreateParams first. More... | |
| #define | RANDOMH_EZERO 256 |
| Output Vector length must be greater than zero. More... | |
| #define | RANDOMH_ESEED 512 |
| Improper seed value. More... | |
Typedefs | |
| typedef struct tagMTRandomParams | MTRandomParams |
| typedef struct tagMTRandomParams MTRandomParams |