TwiceAsNice
2019-02-18
|
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include "define.h"
#include "globals.h"
#include "random.h"
Macros | |
#define | THREAD_NMAX 16 |
#define | LOGGAMMA gammln |
Functions | |
static double | gammln () |
double | random_gauss (double sigma, int p) |
int | random_int (int p) |
double | random_double (int p) |
void | init_random (int seed) |
static double | gammln (double xx) |
double | random_poisson (double xm, int p) |
#define LOGGAMMA gammln |
#define THREAD_NMAX 16 |
|
static |
|
static |
void init_random | ( | int | seed | ) |
double random_double | ( | int | p | ) |
double random_gauss | ( | double | sigma, |
int | p | ||
) |
int random_int | ( | int | p | ) |
double random_poisson | ( | double | xm, |
int | p | ||
) |