c c Routine directly callable from C/C++ (it could be necessary to c append an underscore, "_", to its name depending on the C/C++ c compiler used). c c function clockrandom() c c This function returns a uniformly distributed (interval (0, 1)) c pseudorandom number generated with the current clock and CPU c usage lectures. c c WARNING: THIS FUNCTION IS NOT FOR USE AS A HIGH QUALITY RANDOM c NUMBER GENERATOR. c c Multiple calls may return correlated numbers if there is no c enough time between invocations. Nevertheless, a sequence of c different numbers passes direct 1d and 2d chisquare tests, c ensuring a minimum quality for the generated numbers. c c This routine is intended for special applications like c generating a single random seed, for example. c c Written by: S. J. Sciutto, La Plata 2000. c c Return value: (double precision) The pseudorandom number. c ============ c c c<--->
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
Back to AIRES home |