annotate liboctave/cruft/ranlib/README @ 18794:03c2671493f9

maint: Periodic merge of gui-release to default.
author Rik <rik@octave.org>
date Mon, 02 Jun 2014 11:17:59 -0700
parents 648dabbb4c6b
children 446c46af4b42
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
1
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
2
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
3
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
4
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
5
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
6
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
7
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
8
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
9
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
10
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
11
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
12 RANDLIB
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
13
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
14 Library of Fortran Routines for Random Number Generation
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
15
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
16
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
17 Version 1.3 -- August, 1997
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
18
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
19
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
20
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
21
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
22 README
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
23
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
24
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
25
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
26
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
27
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
28
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
29
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
30
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
31 Compiled and Written by:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
32
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
33 Barry W. Brown
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
34 James Lovato
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
35 Kathy Russell
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
36 John Venier
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
37
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
38
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
39
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
40
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
41
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
42
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
43
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
44
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
45
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
46 Department of Biomathematics, Box 237
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
47 The University of Texas, M.D. Anderson Cancer Center
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
48 1515 Holcombe Boulevard
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
49 Houston, TX 77030
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
50
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
51
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
52 This work was supported by grant CA-16672 from the National Cancer Institute.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
53
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
54
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
55
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
56 THANKS TO OUR SUPPORTERS
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
57
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
58 This work was supported in part by grant CA-16672 from the National
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
59 Cancer Institute. We are grateful to Larry and Pat McNeil of Corpus
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
60 Cristi for their generous support. Some equipment used in this effort
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
61 was provided by IBM as part of a cooperative study agreement; we thank
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
62 them.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
63
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
64
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
65 SUMMARY OF RANDLIB
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
66
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
67 The bottom level routines provide 32 virtual random number generators.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
68 Each generator can provide 1,048,576 blocks of numbers, and each block
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
69 is of length 1,073,741,824. Any generator can be set to the beginning
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
70 or end of the current block or to its starting value. Packaging is
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
71 provided so that if these capabilities are not needed, a single
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
72 generator with period 2.3 X 10^18 is seen.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
73
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
74 Using this base, routines are provided that return:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
75 (1) Beta random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
76 (2) Chi-square random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
77 (3) Exponential random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
78 (4) F random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
79 (5) Gamma random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
80 (6) Multivariate normal random deviates (mean and covariance
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
81 matrix specified)
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
82 (7) Noncentral chi-square random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
83 (8) Noncentral F random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
84 (9) Univariate normal random deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
85 (10) Random permutations of an integer array
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
86 (11) Real uniform random deviates between specified limits
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
87 (12) Binomial random deviates
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
88 (13) Negative Binomial random deviates
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
89 (14) Multinomial random deviates
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
90 (15) Poisson random deviates
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
91 (16) Integer uniform deviates between specified limits
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
92 (17) Seeds for the random number generator calculated from a
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
93 character string
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
94
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
95 INSTALLATION
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
96
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
97 Directory src contains the Fortran source. The Fortran code from this
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
98 directory should be compiled and placed in a library. Directory test
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
99 contains three test programs for this code.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
100
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
101
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
102
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
103
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
104
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
105
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
106 DOCUMENTATION
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
107
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
108 Documentation is on directory doc on the distribution. All of the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
109 documentation is in the form of character (ASCII) files. An
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
110 explanation of the concepts involved in the base generator and details
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
111 of its implementation are contained in Basegen.doc. A summary of all
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
112 of the available routines is contained in randlib.chs (chs is an
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
113 abbreviation of 'cheat sheet'). The 'chs' file will probably be the
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
114 reference to randlib that is primarily used. The file, randlib.fdoc,
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
115 contains all comments heading each routine. There is somewhat more
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
116 information in 'fdoc' than 'chs', but the additional information
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
117 consists primarily of references to the literature.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
118
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
119
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
120
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
121 SOURCES
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
122
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
123 The following routines, which were written by others and lightly
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
124 modified for consistency in packaging, are included in RANDLIB.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
125
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
126 Bottom Level Routines
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
127
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
128 These routines are a transliteration of the Pascal in the reference to
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
129 Fortran.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
130
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
131 L'Ecuyer, P. and Cote, S. "Implementing a Random Number Package with
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
132 Splitting Facilities." ACM Transactions on Mathematical Software,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
133 17:98-111 (1991)
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
134
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
135 Exponential
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
136
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
137 This code was obtained from Netlib.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
138
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
139 Ahrens, J.H. and Dieter, U. Computer Methods for Sampling From the
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
140 Exponential and Normal Distributions. Comm. ACM, 15,10 (Oct. 1972),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
141 873 - 882.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
142
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
143 Gamma
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
144
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
145 (Case R >= 1.0)
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
146
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
147 Ahrens, J.H. and Dieter, U. Generating Gamma Variates by a Modified
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
148 Rejection Technique. Comm. ACM, 25,1 (Jan. 1982), 47 - 54.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
149 Algorithm GD
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
150
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
151 (Case 0.0 <= R <= 1.0)
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
152
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
153 Ahrens, J.H. and Dieter, U. Computer Methods for Sampling from Gamma,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
154 Beta, Poisson and Binomial Distributions. Computing, 12 (1974),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
155 223-246. Adaptation of algorithm GS.
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
156
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
157
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
158
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
159
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
160
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
161
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
162 Normal
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
163
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
164 This code was obtained from netlib.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
165
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
166 Ahrens, J.H. and Dieter, U. Extensions of Forsythe's Method for
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
167 Random Sampling from the Normal Distribution. Math. Comput., 27,124
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
168 (Oct. 1973), 927 - 937.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
169
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
170 Binomial
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
171
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
172 This code was kindly sent me by Dr. Kachitvichyanukul.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
173
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
174 Kachitvichyanukul, V. and Schmeiser, B. W. Binomial Random Variate
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
175 Generation. Communications of the ACM, 31, 2 (February, 1988) 216.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
176
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
177
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
178 Poisson
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
179
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
180 This code was obtained from netlib.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
181
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
182 Ahrens, J.H. and Dieter, U. Computer Generation of Poisson Deviates
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
183 From Modified Normal Distributions. ACM Trans. Math. Software, 8, 2
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
184 (June 1982),163-179
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
185
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
186 Beta
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
187
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
188 This code was written by us following the recipe in the following.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
189
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
190 R. C. H. Cheng Generating Beta Variables with Nonintegral Shape
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
191 Parameters. Communications of the ACM, 21:317-322 (1978) (Algorithms
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
192 BB and BC)
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
193
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
194 Linpack
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
195
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
196 Routines SPOFA and SDOT are used to perform the Cholesky decomposition
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
197 of the covariance matrix in SETGMN (used for the generation of
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
198 multivariate normal deviates).
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
199
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
200 Dongarra, J. J., Moler, C. B., Bunch, J. R. and Stewart, G. W.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
201 Linpack User's Guide. SIAM Press, Philadelphia. (1979)
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
202
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
203
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
204
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
205
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
206 LEGALITIES
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
207
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
208 Code that appeared in an ACM publication is subject to their
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
209 algorithms policy:
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
210
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
211 Submittal of an algorithm for publication in one of the ACM
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
212 Transactions implies that unrestricted use of the algorithm within a
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
213 computer is permissible. General permission to copy and distribute
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
214 the algorithm without fee is granted provided that the copies are not
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
215 made or distributed for direct commercial advantage. The ACM
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
216 copyright notice and the title of the publication and its date appear,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
217 and notice is given that copying is by permission of the Association
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
218 for Computing Machinery. To copy otherwise, or to republish, requires
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
219 a fee and/or specific permission.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
220
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
221 Krogh, F. Algorithms Policy. ACM Tran. Math. Softw. 13(1987),
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
222 183-186.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
223
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
224 We place the Randlib code that we have written in the public domain.
2330
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
225
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
226 NO WARRANTY
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
227
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
228 WE PROVIDE ABSOLUTELY NO WARRANTY OF ANY KIND EITHER EXPRESSED OR
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
229 IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
230 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
231 AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
232 THIS PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
233 SERVICING, REPAIR OR CORRECTION.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
234
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
235 IN NO EVENT SHALL THE UNIVERSITY OF TEXAS OR ANY OF ITS COMPONENT
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
236 INSTITUTIONS INCLUDING M. D. ANDERSON HOSPITAL BE LIABLE TO YOU FOR
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
237 DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES, OR OTHER SPECIAL,
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
238 INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
239 INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA OR
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
240 ITS ANALYSIS BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THIRD
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
241 PARTIES) THE PROGRAM.
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
242
12ff450cbb1f [project @ 1996-07-19 01:39:22 by jwe]
jwe
parents:
diff changeset
243 (Above NO WARRANTY modified from the GNU NO WARRANTY statement.)
3188
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
244
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
245
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
246
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
247 WHAT'S NEW IN VERSION 1.1?
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
248
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
249
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
250 Random number generation for the Negative Binomial and Multinomial
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
251 distributions has been included.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
252
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
253 Two errors in the code which generates random numbers from the Gamma
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
254 distribution were fixed.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
255
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
256
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
257 WHAT'S NEW IN VERSION 1.2?
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
258
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
259 We changed the name of the package from 'ranlib' to 'randlib'. This
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
260 was done so that we can determine who archives it. 'ranlib' is the
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
261 name of a Unix utility which produces many spurious hits on a web
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
262 search engine.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
263
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
264
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
265 The linpack routines are now housed in the /src directory.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
266
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
267 In several routines, some variables were given an explicit SAVE
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
268 attribute and some dummy initial values were changed to prevent
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
269 potential errors.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
270 'genbet.f' 'ignbin.f' 'ignpoi.f' 'phrtsd.f' 'sexpo.f' 'sgamma.f'
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
271 'snorm.f'
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
272
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
273 In several routines, argument checking was implemented; the code now
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
274 breaks if inappropriate values are passed to it.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
275 'genbet.f' A and B must be >= 1.0E-37 instead of 0.0
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
276 'genexp.f' AV must be >= 0.0
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
277 'gengam.f' A and R both must be > 0.0
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
278 'gennor.f' SD must be >= 0.0
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
279 'ignbin.f' N must be >= 0, and 0.0 <= PP <= 1.0.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
280 'ignnbn.f' N must be > 0, 0.0 < P < 1.0 (previously allowed N = 0)
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
281 'ignpoi.f' MU must be >= 0.0
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
282
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
283 For the Non-Central Chi-Squared and Non-Central F distributions, the
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
284 case DF = 1.0 (DFN = 1.0 for the F) is now allowed.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
285 'gennch.f' 'gennf.f'
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
286
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
287 Wherever possible, the user-accessible code now calls the base
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
288 generators directly. This means improved performance and fewer
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
289 dependencies, but the routines should work exactly as before from the
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
290 user's point of view.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
291 'genchi.f' 'genf.f' 'gennch.f' 'gennf.f' 'ignnbn.f'
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
292
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
293 Many minor modifications have been made which should make the code
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
294 more robust, without changing how the code is used.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
295 'genbet.f' 'gengam.f' 'ignpoi.f' 'ignuin.f' 'sgamma.f' 'tstmid.f'
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
296
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
297 Finally, five distributions have been added to the mid-level tester,
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
298 which test the Exponential, Gamma, Multinomial, Negative Binomial, and
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
299 Normal distributions.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
300 'tstmid.f'
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
301
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
302
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
303
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
304
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
305 WHAT'S NOT NEW IN VERSION 1.2 ?
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
306
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
307 No calling sequences have changed.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
308
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
309 WHAT'S NEW IN VERSION 1.3?
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
310
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
311 The calling sequence of SETGMN has been changed! We added an argument
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
312 (INTEGER LDCOVM) representing the leading actual dimension of COVM, to
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
313 allow the user to use this routine in the case that COVM is contained
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
314 in a larger array. This change also makes the routine more compatible
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
315 with LINPACK routines. See the following files for details:
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
316 'setgmn.f' in the /src directory, and 'randlib.fdoc' and 'randlib.chs'
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
317 in the /doc directory.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
318
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
319 Briefly, the declaration of SETGMN has been changed
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
320 from:
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
321 SUBROUTINE setgmn(meanv,covm,p,parm)
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
322 to:
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
323 SUBROUTINE setgmn(meanv,covm,ldcovm,p,parm)
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
324
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
325 The program 'tstgmn.f' (in the /test directory) was changed to reflect
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
326 the change in the calling sequence of SETGMN.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
327
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
328 'randlib.fdoc' and 'randlib.chs' in the /doc directory were changed to
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
329 relect the change in the calling sequence of SETGMN.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
330
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
331 Minor changes were made in two routines ('sgamma.f' and 'sexpo.f') to
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
332 fix unusual bugs.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
333
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
334 The protection from overflow in deviate generation in two routines
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
335 ('genf.f' and 'gennf.f') was changed to prevent a constant from
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
336 underflowing at compile time.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
337
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
338 WHAT'S NOT NEW IN VERSION 1.3 ?
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
339
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
340 No calling sequences (other than SETGMN) have changed.
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
341
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
342 MANY THANKS
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
343
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
344 The authors would like to thank the many users who have reported bugs
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
345 and suggested improvements; Randlib would not be the same today
df7c57a6639d [project @ 1998-10-15 06:02:21 by jwe]
jwe
parents: 2330
diff changeset
346 without them. We heartily encourage others to join them.