cfitsio  3390
Macros | Functions
simplerng.c File Reference
#include <math.h>
#include <stdlib.h>
Include dependency graph for simplerng.c:

Macros

#define PI   3.1415926535897932384626433832795
 

Functions

int simplerng_poisson_small (double lambda)
 
int simplerng_poisson_large (double lambda)
 
double simplerng_getuniform_pr (unsigned int *u, unsigned int *v)
 
unsigned int simplerng_getuint_pr (unsigned int *u, unsigned int *v)
 
double simplerng_logfactorial (int n)
 
void simplerng_setstate (unsigned int u, unsigned int v)
 
void simplerng_getstate (unsigned int *u, unsigned int *v)
 
void simplerng_srand (unsigned int seed)
 
double simplerng_getuniform (void)
 
unsigned int simplerng_getuint ()
 
double simplerng_getnorm ()
 
int simplerng_getpoisson (double lambda)
 

Macro Definition Documentation

#define PI   3.1415926535897932384626433832795

Function Documentation

double simplerng_getnorm ( void  )

Here is the call graph for this function:

int simplerng_getpoisson ( double  lambda)

Here is the call graph for this function:

void simplerng_getstate ( unsigned int *  u,
unsigned int *  v 
)
unsigned int simplerng_getuint ( )

Here is the call graph for this function:

unsigned int simplerng_getuint_pr ( unsigned int *  u,
unsigned int *  v 
)

Here is the caller graph for this function:

double simplerng_getuniform ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

double simplerng_getuniform_pr ( unsigned int *  u,
unsigned int *  v 
)

Here is the call graph for this function:

Here is the caller graph for this function:

double simplerng_logfactorial ( int  n)

Here is the caller graph for this function:

int simplerng_poisson_large ( double  lambda)

Here is the call graph for this function:

Here is the caller graph for this function:

int simplerng_poisson_small ( double  lambda)

Here is the call graph for this function:

Here is the caller graph for this function:

void simplerng_setstate ( unsigned int  u,
unsigned int  v 
)

Here is the caller graph for this function:

void simplerng_srand ( unsigned int  seed)

Here is the call graph for this function: