gsll.asd 6.58 KB
Newer Older
1
;********************************************************
2
; file:        gsll.asd                              
3
4
5
; description: Definition of GSLL system 
; date:        
; author:      Liam Healy
6
; modified:    Thu Oct 18 2007 - 22:18
7
8
9
10
11
12
13
14
15
;********************************************************
;;; $Id: $

(asdf:defsystem "gsll"
  :name "gsll"
  :description "GNU Scientific Library for Lisp."
  :version "0"
  :author "Liam M. Healy"
  :licence "GPL"
16
  :depends-on (cffi cffi-unix)	      ; http://www.cliki.net/cffi-unix
17
  :components
18
  ((:module init
19
	    :components
20
	    ((:file "init")
21
	     (:file "utility" :depends-on (init))
22
	     (:file "number-conversion" :depends-on (init))
23
	     (:file "interface" :depends-on (init))
24
	     ;; http://www.cs.northwestern.edu/academics/courses/325/readings/lisp-unit.html
25
	     (:file "lisp-unit")
liam's avatar
liam committed
26
	     (:file "tests" :depends-on (init lisp-unit))))
27
28
29
   (:module general
	    :depends-on (init)
	    :components
30
31
	    ((:file "conditions")
	     (:file "mathematical")))
32
   ;; complex numbers not necessary?  Just make a struct.
33
34
35
36
37
38
   (:module data
	    :depends-on (init)
	    :components
	    ((:file "data")
	     (:file "block" :depends-on (data))
	     (:file "vector" :depends-on (data))
39
	     (:file "matrix" :depends-on (data vector))
40
41
	     (:file "permutation" :depends-on (data vector))
	     (:file "combination" :depends-on (data))))
42
43
   #+unnecessary (:file "cffi-array")
   (:file "polynomial" :depends-on (init data))
44
   (:module special-functions
45
	    :depends-on (init)
46
	    :components
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
	    ((:file "return-structures")
	     (:file "airy" :depends-on (return-structures))
	     (:file "bessel" :depends-on (return-structures))
	     (:file "clausen" :depends-on (return-structures))
	     (:file "coulomb" :depends-on (return-structures))
	     (:file "coupling" :depends-on (return-structures))
	     (:file "dawson" :depends-on (return-structures))
	     (:file "debye" :depends-on (return-structures))
	     (:file "dilogarithm" :depends-on (return-structures))
	     (:file "elementary" :depends-on (return-structures))
	     (:file "elliptic-integrals" :depends-on (return-structures))
	     (:file "elliptic-functions" :depends-on (return-structures))
	     (:file "error-functions" :depends-on (return-structures))
	     (:file "exponential-functions" :depends-on (return-structures))
	     (:file "exponential-integrals" :depends-on (return-structures))
	     (:file "fermi-dirac" :depends-on (return-structures))
	     (:file "gamma" :depends-on (return-structures))
	     (:file "gegenbauer" :depends-on (return-structures))
	     (:file "hypergeometric" :depends-on (return-structures))
	     (:file "laguerre" :depends-on (return-structures))
	     (:file "lambert" :depends-on (return-structures))
	     (:file "legendre" :depends-on (return-structures))
	     (:file "logarithm" :depends-on (return-structures))
	     (:file "power" :depends-on (return-structures))
	     (:file "psi" :depends-on (return-structures))
	     (:file "synchrotron" :depends-on (return-structures))
	     (:file "transport" :depends-on (return-structures))
	     (:file "trigonometry" :depends-on (return-structures))
	     (:file "zeta" :depends-on (return-structures))))
liam's avatar
liam committed
76
   (:file "sorting" :depends-on (init data))
77
78
79
   (:module linear-algebra
	    :depends-on (init data)
	    :components
80
	    ((:file "blas1")
81
82
83
	     (:file "blas2")
	     (:file "blas3" :depends-on (blas2))
	     (:file "lu")
liam's avatar
liam committed
84
	     (:file "qr")
85
86
87
88
89
	     (:file "qrpt")
	     (:file "svd")
	     (:file "cholesky")
	     (:file "diagonal")
	     (:file "householder")))
90
91
   (:file "eigensystems" :depends-on (init data))
   ;; Skip fft for now, I'm not sure how it works in C
92
   (:file "numerical-integration" :depends-on (init))
93
94
95
   (:module random
	    :depends-on (init)
	    :components
liam's avatar
liam committed
96
	    ((:file "rng-types")
97
98
	     (:file "generators" :depends-on (rng-types))
	     (:file "quasi" :depends-on (rng-types))
liam's avatar
liam committed
99
	     (:file "gaussian" :depends-on (rng-types))
100
101
	     (:file "gaussian-tail" :depends-on (rng-types))
	     (:file "gaussian-bivariate" :depends-on (rng-types))
liam's avatar
liam committed
102
	     (:file "exponential" :depends-on (rng-types))
103
104
105
106
107
108
	     (:file "laplace" :depends-on (rng-types))
	     (:file "exponential-power" :depends-on (rng-types))
	     (:file "cauchy" :depends-on (rng-types))
	     (:file "rayleigh" :depends-on (rng-types))
	     (:file "rayleigh-tail" :depends-on (rng-types))
	     (:file "landau" :depends-on (rng-types))
liam's avatar
liam committed
109
110
111
112
113
114
115
116
117
	     (:file "levy" :depends-on (rng-types))
	     (:file "gamma" :depends-on (rng-types))
	     (:file "flat" :depends-on (rng-types))
	     (:file "lognormal" :depends-on (rng-types))
	     (:file "chi-squared" :depends-on (rng-types))
	     (:file "fdist" :depends-on (rng-types))
	     (:file "tdist" :depends-on (rng-types))
	     (:file "beta" :depends-on (rng-types))
	     (:file "logistic" :depends-on (rng-types))
118
119
	     (:file "pareto" :depends-on (rng-types))
	     (:file "spherical-vector" :depends-on (rng-types))
120
121
122
	     (:file "weibull" :depends-on (rng-types))
	     (:file "gumbel1" :depends-on (rng-types))
	     (:file "gumbel2" :depends-on (rng-types))
123
	     (:file "dirichlet" :depends-on (rng-types))
124
125
126
127
	     (:file "discrete" :depends-on (rng-types))
	     (:file "poisson" :depends-on (rng-types))
	     (:file "bernoulli" :depends-on (rng-types))
	     (:file "binomial" :depends-on (rng-types))
128
	     (:file "multinomial" :depends-on (rng-types))
129
130
131
	     (:file "negative-binomial" :depends-on (rng-types))
	     (:file "geometric" :depends-on (rng-types))
	     (:file "hypergeometric" :depends-on (rng-types))
132
133
134
135
136
	     (:file "logarithmic" :depends-on (rng-types))
	     (:file "shuffling-sampling" :depends-on (rng-types))))
   (:module statistics
	    :depends-on (init data)
	    :components
137
138
139
140
141
142
	    ((:file "mean-variance")
	     (:file "absolute-deviation")
	     (:file "higher-moments")
	     (:file "autocorrelation")
	     (:file "covariance")
	     ;; minimum and maximum values provided in vector.lisp
liam's avatar
liam committed
143
144
145
146
147
148
149
150
151
	     (:file "median-percentile")))
   (:module histogram
	    :depends-on (init)
	    :components
	    ((:file "histogram")
	     (:file "updating-accessing" :depends-on (histogram))
	     (:file "statistics" :depends-on (histogram))
	     (:file "operations" :depends-on (histogram))
	     (:file "read-write" :depends-on (histogram))
liam's avatar
liam committed
152
153
	     (:file "probability-distribution" :depends-on (histogram))
	     (:file "ntuple")))
154
155
156
157
158
159
160
161
162
   (:file "monte-carlo" :depends-on (init data random numerical-integration))
   (:module ordinary-differential-equations
	    :depends-on (init)
	    :components
	    ((:file "ode-system")
	     (:file "stepping")
	     (:file "control")
	     (:file "evolution")
	     (:file "ode-example" :depends-on (ode-system stepping))))))