#include "libqhull_r.h"
#include "random_r.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | qh_rand_a 16807 |
#define | qh_rand_m 2147483647 |
#define | qh_rand_q 127773 /* m div a */ |
#define | qh_rand_r 2836 /* m mod a */ |
Functions | |
int | qh_argv_to_command (int argc, char *argv[], char *command, int max_size) |
int | qh_argv_to_command_size (int argc, char *argv[]) |
int | qh_rand (qhT *qh) |
realT | qh_randomfactor (qhT *qh, realT scale, realT offset) |
void | qh_randommatrix (qhT *qh, realT *buffer, int dim, realT **rows) |
void | qh_srand (qhT *qh, int seed) |
double | qh_strtod (const char *s, char **endp) |
int | qh_strtol (const char *s, char **endp) |
#define qh_rand_a 16807 |
Definition at line 143 of file random_r.c.
#define qh_rand_m 2147483647 |
Definition at line 144 of file random_r.c.
Definition at line 145 of file random_r.c.
Definition at line 146 of file random_r.c.
int qh_argv_to_command | ( | int | argc, |
char * | argv[], | ||
char * | command, | ||
int | max_size | ||
) |
Definition at line 42 of file random_r.c.
int qh_argv_to_command_size | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 105 of file random_r.c.
int qh_rand | ( | qhT * | qh | ) |
Definition at line 148 of file random_r.c.
Definition at line 184 of file random_r.c.
Definition at line 206 of file random_r.c.
void qh_srand | ( | qhT * | qh, |
int | seed | ||
) |
Definition at line 165 of file random_r.c.
double qh_strtod | ( | const char * | s, |
char ** | endp | ||
) |
Definition at line 231 of file random_r.c.
int qh_strtol | ( | const char * | s, |
char ** | endp | ||
) |
Definition at line 240 of file random_r.c.