1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
<html>
<head>
<meta http-equiv="Expires" content="Jan 1 1990 00:00:00 GMT">
<style>
TEXTAREA {background : "ob01.jpg" ;
readonly ;
border : 0 }
</style>
<center><a href="Index.html"> <h3>Index.html</h3> </a></center>
<h1>Documentation for package :random</h1>
</head>
<body background="ob01.jpg" text="#662299">
<h2>Author: R. Scott McIntire</h2>
<h2>Version: 1.0</h2>
<h2>Overview</h2>
<textarea cols="130" rows="11" id="0">This package provides a high quality random number generator.
RESTRICTION: Only works on Allegro Common Lisp on Windows.
Function summary:
b-rand: Produces a uniform binary random number. That is its values are 0 or 1.
u-rand: Produces a uniform random number (double-float) on the interval [0,1).
i-rand: Produce a random number on the interval
[0, min(2^32, most-positive-fixnum)).
init : Initialize the random number generator.
set-rand: Set the seed of the random number generator.(takes one arg, a fixnum).
</textarea>
<hr>
<hr>
<h2>b-rand   <em>(&rest args)</em></h2>
<textarea cols="130" rows="1" id="1">nil</textarea>
<h2>i-rand   <em>nil</em></h2>
<textarea cols="130" rows="2" id="2">Return a uniform random number on the interval
[0, min(2^32, most-positive-fixnum)).</textarea>
<h2>init   <em>(x)</em></h2>
<textarea cols="130" rows="1" id="3">nil</textarea>
<h2>set-seed   <em>(seed)</em></h2>
<textarea cols="130" rows="1" id="4"><seed> should be a fixnum.</textarea>
<h2>u-rand   <em>(&rest args)</em></h2>
<textarea cols="130" rows="1" id="5">nil</textarea>
<center><a href="Index.html"> <h3>Index.html</h3> </a></center>
</body>
</html>
|