-
Notifications
You must be signed in to change notification settings - Fork 10
/
packages.lisp
54 lines (40 loc) · 977 Bytes
/
packages.lisp
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
54
(in-package :cl-user)
(defpackage :random-distributions
(:use :cl)
(:nicknames :randist :cl-randist)
(:export
random-uniform
random-bernoulli
random-normal
random-normal-ziggurat
random-normal-bivariate
bivariate-gaussian
random-gamma
random-gamma1
random-gamma-mt
random-gamma-int
random-dirichlet
random-beta
random-binomial
random-negative-binomial
random-poisson
random-exponential
random-multinomial
random-multinomial%
random-f
random-pareto
random-GIG
random-generalized-inverse-gaussian
make-random-variable-gig
make-random-variable-gig-poisson
random-gig-IID
;;random-logistic (untested)
random-chi-square
;; random-t (untested)
;; Alias method for discrete distributions
make-discrete-random-var
;; Cut-point method for discrete distributions
make-discrete-monotone-random-var
;; MT imple
*mt-random-state* make-mt-random-state random-mt
))