Commit 5cc200cc672b685e30ef14d1cb5960e5d688ae8e
- Date: Sat Mar 08 15:40:40 +0000 2008
- Committer: Leonardo Varuzza (varuzza@gmail.com)
- Author: Leonardo Varuzza (varuzza@gmail.com)
- Commit SHA1: 5cc200cc672b685e30ef14d1cb5960e5d688ae8e
- Tree SHA1: 54f8f062c41c2c9c597cae51ee415d6bb6654872
Missing in-package in dirichlet.lisp
Add make-dist.sh
documentation updates.
Commit diff
| |   |
| 5 | 5 | |
| 6 | 6 | (defsystem :cl-randist |
| 7 | 7 | :description "Random Distribution Generation" |
| 8 | | :version "0.2" |
| 8 | :version "0.3.1" |
| 9 | 9 | :author "Leonardo Varuzza <varuzza@gmail.com>" |
| 10 | 10 | :license "GPLv3" |
| 11 | 11 | :serial t |
| toggle raw diff |
--- a/cl-randist.asd
+++ b/cl-randist.asd
@@ -5,7 +5,7 @@
(defsystem :cl-randist
:description "Random Distribution Generation"
- :version "0.2"
+ :version "0.3.1"
:author "Leonardo Varuzza <varuzza@gmail.com>"
:license "GPLv3"
:serial t |
| |   |
| 39 | 39 | |
| 40 | 40 | <p> |
| 41 | 41 | <font color=red>Download shortcut:</font> <a |
| 42 | | href="http://lambdatau.com/cl-randist/cl-randist.tar.gz">http://lambdatau.com/cl-randist/cl-randist.tar.gz</a>. |
| 42 | href="http://cl-randist.googlecode.com/files/cl-randist.tar.gz">http://cl-randist.googlecode.com/files/cl-randist.tar.gz</a>. |
| 43 | |
| 44 | <p> Latest development version can by download with git: git clone http://lambdatau.com/git/cl-randist</p> |
| 45 | |
| 43 | 46 | </blockquote> |
| 44 | 47 | |
| 45 | 48 | <br> <br><h3><a class=none name="contents">Contents</a></h3> |
| … | … | |
| 75 | 75 | <br> <br><h3><a class=none name="download">Download</a></h3> |
| 76 | 76 | |
| 77 | 77 | RANDOM-DISTRIBUTIONS together with this documentation can be downloaded from <a |
| 78 | | href="http://lambdatau.com/cl-randist/cl-randist.tar.gz">http://lambdatau.com/cl-randist/cl-randist.tar.gz</a>. The |
| 79 | | current version is 0.1.0. |
| 78 | href="http://cl-randist.googlecode.com/files/cl-randist.tar.gz">http://cl-randist.googlecode.com/files/cl-randist.tar.gz</a>. The |
| 79 | current version is 0.3.0. |
| 80 | 80 | |
| 81 | 81 | <br> <br><h3><a class=none name="dictionary">The RANDOM-DISTRIBUTIONS dictionary</a></h3> |
| 82 | 82 | |
| … | … | |
| 205 | 205 | <p><br>[Function]<br><a class=none name='random-gamma-int'><b>random-gamma-int</b> <i>a</i> => <i>result</i></a> |
| 206 | 206 | <blockquote><br> |
| 207 | 207 | |
| 208 | | |
| 208 | Random variable with gamma distribution with integer parameter. |
| 209 | 209 | |
| 210 | 210 | </blockquote> |
| 211 | 211 | |
| toggle raw diff |
--- a/cl-randist.html
+++ b/cl-randist.html
@@ -39,7 +39,10 @@ so you can basically do with it whatever you want.</p>
<p>
<font color=red>Download shortcut:</font> <a
-href="http://lambdatau.com/cl-randist/cl-randist.tar.gz">http://lambdatau.com/cl-randist/cl-randist.tar.gz</a>.
+href="http://cl-randist.googlecode.com/files/cl-randist.tar.gz">http://cl-randist.googlecode.com/files/cl-randist.tar.gz</a>.
+
+<p> Latest development version can by download with git: git clone http://lambdatau.com/git/cl-randist</p>
+
</blockquote>
<br> <br><h3><a class=none name="contents">Contents</a></h3>
@@ -72,8 +75,8 @@ href="http://lambdatau.com/cl-randist/cl-randist.tar.gz">http://lambdatau.com/cl
<br> <br><h3><a class=none name="download">Download</a></h3>
RANDOM-DISTRIBUTIONS together with this documentation can be downloaded from <a
-href="http://lambdatau.com/cl-randist/cl-randist.tar.gz">http://lambdatau.com/cl-randist/cl-randist.tar.gz</a>. The
-current version is 0.1.0.
+href="http://cl-randist.googlecode.com/files/cl-randist.tar.gz">http://cl-randist.googlecode.com/files/cl-randist.tar.gz</a>. The
+current version is 0.3.0.
<br> <br><h3><a class=none name="dictionary">The RANDOM-DISTRIBUTIONS dictionary</a></h3>
@@ -202,7 +205,7 @@ x^(nu1/2 - 1) (nu2 + nu1 * x)^(-nu1/2 -nu2/2) dx
<p><br>[Function]<br><a class=none name='random-gamma-int'><b>random-gamma-int</b> <i>a</i> => <i>result</i></a>
<blockquote><br>
-
+ Random variable with gamma distribution with integer parameter.
</blockquote>
|
| |   |
| 1 | | |
| 1 | (in-package :randist) |
| 2 | 2 | |
| 3 | 3 | ;; /* The Dirichlet probability distribution of order K-1 is |
| 4 | 4 | |
| toggle raw diff |
--- a/dirichlet.lisp
+++ b/dirichlet.lisp
@@ -1,4 +1,4 @@
-
+(in-package :randist)
;; /* The Dirichlet probability distribution of order K-1 is
|
| |   |
| 100 | 100 | (inline random-gamma-int)) |
| 101 | 101 | |
| 102 | 102 | (defun random-gamma-int (a) |
| 103 | "Random variable with gamma distribution with integer parameter." |
| 103 | 104 | (declare (fixnum a)) |
| 104 | 105 | (if (< a 12) |
| 105 | 106 | (do ((i 0 (1+ i)) |
| toggle raw diff |
--- a/gamma.lisp
+++ b/gamma.lisp
@@ -100,6 +100,7 @@
(inline random-gamma-int))
(defun random-gamma-int (a)
+"Random variable with gamma distribution with integer parameter."
(declare (fixnum a))
(if (< a 12)
(do ((i 0 (1+ i)) |
| |   |
| 1 | tar czvf cl-randist.tar.gz *.lisp cl-randist.asd cl-randist.html |
| 2 | gpg -a -b cl-randist.tar.gz |
| toggle raw diff |
--- /dev/null
+++ b/make-dist.sh
@@ -0,0 +1,2 @@
+tar czvf cl-randist.tar.gz *.lisp cl-randist.asd cl-randist.html
+gpg -a -b cl-randist.tar.gz |