clem 0.4.1, ch-asdf 0.2.8, ch-util 0.2.2, lift 1.3.1, darcs ignored, smarkup 0.3.3
[CommonLispStat.git] / external / clem / src / defpackage.lisp
blob1406babba57a53037f3df1acb38bda2dce6ec6a0
2 (in-package #:cl-user)
4 (eval-when (:compile-toplevel :load-toplevel :execute)
5 #+sbcl
6 (if (find-package 'sb-mop)
7 (pushnew :clem-sbcl-mop cl:*features*)
8 (pushnew :clem-sbcl-pcl cl:*features*)))
11 (defpackage #:clem
12 (:use #:cl #:asdf
13 #+clem-sbcl-mop #:sb-mop
14 #+(and cmu pcl) #:clos-mop)
15 (:export
16 #:matrix
17 #:dim
18 #:rows
19 #:cols
20 #:val
21 #:set-val
22 #:mref
24 #:mat-equal
25 #:print-range
26 #:print-matrix
27 #:transpose
28 #:mat-mult
29 #:mat-hprod
30 #:mat-hprod!
31 #:mat-copy-into
32 #:mat-add
33 #:mat-subtr
34 #:swap-rows
35 #:swap-cols
36 #:map-col
37 #:map-row
38 #:invert-matrix
40 #:horzcat
41 #:vertcat
42 #:pad-matrix
44 #:scalar-divide
45 #:scalar-mult-col
46 #:scalar-mult-row
47 #:scalar-divide-col
48 #:scalar-divide-row
49 #:scalar-double-float-divide-col
50 #:scalar-double-float-divide-row
51 #:scalar-single-float-divide-col
52 #:scalar-single-float-divide-row
54 #:random-matrix
55 #:zero-matrix
56 #:identity-matrix
58 #:mat-square
59 #:mat-square!
60 #:mat-sqrt
61 #:mat-sqrt!
63 #:normalize
64 #:norm-0-255
65 #:norm-0-1
67 #:map-matrix
69 #:sum-range
70 #:sum
71 #:sum-square-range
72 #:sum-square
74 #:max-val
75 #:min-val
77 #:mat-copy-proto
79 ;;; temporary (maybe) matrix conversion utility functions
80 #:copy-to-ub8-matrix
81 #:copy-to-ub16-matrix
82 #:copy-to-ub32-matrix
83 #:copy-to-double-float-matrix
84 #:copy-to-fixnum-matrix
85 #:copy-to-bit-matrix
88 ;;; matrix operations
90 #:discrete-convolve
91 #:separable-discrete-convolve
93 #:gaussian-blur
94 #:gaussian-blur-word
96 #:gaussian-kernel
98 #:dilate
99 #:erode
101 #:threshold
102 #:binary-threshold
104 #:x-derivative
105 #:y-derivative
106 #:gradmag
107 #:laplacian
109 #:variance-window
110 #:sample-variance-window
112 ;;; from matrixutils.cl
113 #:array->matrix
114 #:mat-trim
116 ;;; typed-matrix stuff
117 #:typed-matrix
118 #:map-matrix-fit
120 #:defmatrixtype
122 #:sb8-matrix
123 #:sb8-scalar
124 #:array->sb8-matrix
125 #:random-sb8-matrix
127 #:unsigned-byte-matrix
128 #:ub8-matrix
129 #:ub8-scalar
130 #:array->ub8-matrix
131 #:random-ub8-matrix
133 #:sb16-matrix
134 #:array->sb16-matrix
135 #:random-sb16-matrix
137 #:ub16-matrix
138 #:array->ub16-matrix
139 #:random-ub16-matrix
141 #:sb32-matrix
142 #:array->sb32-matrix
143 #:random-sb32-matrix
145 #:ub32-matrix
146 #:array->ub32-matrix
147 #:random-ub32-matrix
149 #:fixnum-matrix
150 #:array->fixnum-matrix
151 #:random-fixnum-matrix
153 #:float-matrix
155 #:single-float-matrix
156 #:array->single-float-matrix
157 #:random-single-float-matrix
159 #:double-float-matrix
160 #:array->double-float-matrix
161 #:random-double-float-matrix
163 #:t-matrix
164 #:array->t-matrix
165 #:random-t-matrix
167 #:bit-matrix
168 #:array->bit-matrix
169 #:random-bit-matrix
171 #:integer-matrix
172 #:array->integer-matrix
173 #:random-integer-matrix
175 #:real-matrix
176 #:array->real-matrix
177 #:random-real-matrix
179 #:complex-matrix
180 #:array->complex-matrix
181 #:random-complex-matrix
183 #:number-matrix
185 ;;; affine transformation stuff
186 #:affine-transformation
187 #:make-affine-transformation
189 ;; 7-parameter parameterization of an affine transformation
190 #:affine-transformation-7-parameters
191 #:make-affine-transformation-matrix-from-7-parameters
192 #:transformation-parameter
193 #:decf-transformation-parameters
194 #:copy-affine-transformation-7-parameters
195 #:move-affine-transformation-7-parameters
196 #:get-affine-transformation-7-parameters-properties
198 #:y-scale
199 #:x-scale
200 #:theta
201 #:y-shift
202 #:x-shift
203 #:y-shear
204 #:x-shear
206 #:affine-transform
207 #:transform-matrix
209 #:compute-bounds
210 #:transform-coord
212 #:subset-matrix
214 #:mat-scale
215 #:mat-scale-range
216 #:mat-abs
217 #:mat-abs-range
218 #:mlog
219 #:mlog-range
221 #:matrix-move
222 #:matrix-move-range-2d
224 ;;; typed matrix operations
226 #:m+
227 #:m-
228 #:m*
229 #:m.*
231 ;;; logical operations
233 #:mlogior
234 #:mlogand
235 #:mlogxor
237 ;; matrix looping operator
238 #:mloop
240 #:matrix-means
241 #:matrix-medians
244 (defpackage :clem-user
245 (:use #:cl #:clem))