|
From: Vitor S. C. <vs...@us...> - 2001-06-11 20:20:39
|
Update of /cvsroot/yap/docs
In directory usw-pr-cvs1:/tmp/cvs-serv4666/docs
Modified Files:
yap.tex
Log Message:
change library(random) to use O'Keefe code.
Index: yap.tex
===================================================================
RCS file: /cvsroot/yap/docs/yap.tex,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- yap.tex 2001/06/08 14:52:54 1.17
+++ yap.tex 2001/06/11 20:20:36 1.18
@@ -6889,9 +6889,9 @@
@cindex queue
The following random number operations are included with the
-@code{use_module(library(random))} command. The random numbers packages
-uses the Operating underlying random number generator, so random numbers
-are not necessarily repeatable.
+@code{use_module(library(random))} command. Since Yap-4.3.19 Yap uses
+the O'Keefe public-domain algorithm, based on the "Applied Statistics"
+algorithm AS183.
@table @code
@@ -6922,14 +6922,14 @@
@syindex randseq/3
@cnindex randseq/3
Unify @var{Numbers} with a list of @var{LENGTH} unique random integers
-in the range @code{[1 ...@var{HIGH})}.
+in the range @code{[1 ...@var{MAX})}.
@item randset(+@var{LENGTH}, +@var{MAX}, -@var{Numbers})
@findex randset/3
@syindex randset/3
@cnindex randset/3
Unify @var{Numbers} with an ordered list of @var{LENGTH} unique random
-integers in the range @code{[1 ...@var{HIGH})}.
+integers in the range @code{[1 ...@var{MAX})}.
@item setrand(+@var{Key})
@findex setrand/1
|