00001 /*<html><pre> -<a href="qh-geom.htm" 00002 >-------------------------------</a><a name="TOP">-</a> 00003 00004 random.h 00005 header file for random routines 00006 00007 see qh-geom.htm and random.c 00008 00009 Copyright (c) 1993-2011 The Geometry Center. 00010 $Id: //main/2011/qhull/src/libqhull/random.h#2 $$Change: 1342 $ 00011 $DateTime: 2011/03/07 21:55:47 $$Author: bbarber $ 00012 */ 00013 00014 #ifndef qhDEFrandom 00015 #define qhDEFrandom 1 00016 00017 #include "libqhull.h" 00018 00019 /*============= prototypes in alphabetical order ======= */ 00020 00021 00022 int qh_argv_to_command(int argc, char *argv[], char* command, int max_size); 00023 int qh_argv_to_command_size(int argc, char *argv[]); 00024 int qh_rand( void); 00025 void qh_srand( int seed); 00026 realT qh_randomfactor(realT scale, realT offset); 00027 void qh_randommatrix(realT *buffer, int dim, realT **row); 00028 int qh_strtol(const char *s, char **endp); 00029 double qh_strtod(const char *s, char **endp); 00030 00031 #endif /* qhDEFrandom */ 00032 00033 00034