1 ;;; Compiled by f2cl version:
2 ;;; ("f2cl1.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
3 ;;; "f2cl2.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
4 ;;; "f2cl3.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
5 ;;; "f2cl4.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
6 ;;; "f2cl5.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
7 ;;; "f2cl6.l,v 1d5cbacbb977 2008/08/24 00:56:27 rtoy $"
8 ;;; "macros.l,v 1409c1352feb 2013/03/24 20:44:50 toy $")
10 ;;; Using Lisp CMU Common Lisp snapshot-2020-04 (21D Unicode)
12 ;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
13 ;;; (:coerce-assigns :as-needed) (:array-type ':array)
14 ;;; (:array-slicing t) (:declare-common nil)
15 ;;; (:float-format single-float))
17 (in-package "FFTPACK5")
20 (defun mradb3 (m ido l1 cc im1 in1 ch im2 in2 wa1 wa2
)
21 (declare (type (array double-float
(*)) wa2 wa1 ch cc
)
22 (type (f2cl-lib:integer4
) in2 im2 in1 im1 l1 ido m
))
23 (f2cl-lib:with-multi-array-data
24 ((cc double-float cc-%data% cc-%offset%
)
25 (ch double-float ch-%data% ch-%offset%
)
26 (wa1 double-float wa1-%data% wa1-%offset%
)
27 (wa2 double-float wa2-%data% wa2-%offset%
))
28 (prog ((ic 0) (i 0) (idp2 0) (m1 0) (m2 0) (k 0) (taui 0.0d0
) (taur 0.0d0
)
29 (arg 0.0d0
) (m2s 0) (m1d 0))
30 (declare (type (double-float) arg taur taui
)
31 (type (f2cl-lib:integer4
) m1d m2s k m2 m1 idp2 i ic
))
33 (f2cl-lib:int-add
(f2cl-lib:int-mul
(f2cl-lib:int-sub m
1) im1
)
35 (setf m2s
(f2cl-lib:int-sub
1 im2
))
36 (setf arg
(/ (* 2.0d0
4.0d0
(atan 1.0d0
)) 3.0d0
))
39 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
43 (f2cl-lib:fdo
(m1 1 (f2cl-lib:int-add m1 im1
))
46 (setf m2
(f2cl-lib:int-add m2 im2
))
47 (setf (f2cl-lib:fref ch-%data%
49 ((1 in2
) (1 ido
) (1 l1
) (1 3))
52 (f2cl-lib:fref cc-%data%
54 ((1 in1
) (1 ido
) (1 3) (1 l1
))
57 (f2cl-lib:fref cc-%data%
59 ((1 in1
) (1 ido
) (1 3) (1 l1
))
61 (setf (f2cl-lib:fref ch-%data%
63 ((1 in2
) (1 ido
) (1 l1
) (1 3))
67 (f2cl-lib:fref cc-%data%
69 ((1 in1
) (1 ido
) (1 3) (1 l1
))
73 (f2cl-lib:fref cc-%data%
75 ((1 in1
) (1 ido
) (1 3) (1 l1
))
79 (f2cl-lib:fref cc-%data%
81 ((1 in1
) (1 ido
) (1 3) (1 l1
))
83 (setf (f2cl-lib:fref ch-%data%
85 ((1 in2
) (1 ido
) (1 l1
) (1 3))
88 (f2cl-lib:fref cc-%data%
90 ((1 in1
) (1 ido
) (1 3) (1 l1
))
94 (f2cl-lib:fref cc-%data%
96 ((1 in1
) (1 ido
) (1 3) (1 l1
))
100 (f2cl-lib:fref cc-%data%
102 ((1 in1
) (1 ido
) (1 3) (1 l1
))
106 (if (= ido
1) (go end_label
))
107 (setf idp2
(f2cl-lib:int-add ido
2))
108 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
111 (f2cl-lib:fdo
(i 3 (f2cl-lib:int-add i
2))
114 (setf ic
(f2cl-lib:int-sub idp2 i
))
116 (f2cl-lib:fdo
(m1 1 (f2cl-lib:int-add m1 im1
))
119 (setf m2
(f2cl-lib:int-add m2 im2
))
120 (setf (f2cl-lib:fref ch-%data%
121 (m2 (f2cl-lib:int-sub i
1) k
1)
122 ((1 in2
) (1 ido
) (1 l1
) (1 3))
125 (f2cl-lib:fref cc-%data%
126 (m1 (f2cl-lib:int-sub i
1) 1 k
)
127 ((1 in1
) (1 ido
) (1 3) (1 l1
))
130 (f2cl-lib:fref cc-%data%
131 (m1 (f2cl-lib:int-sub i
1) 3 k
)
132 ((1 in1
) (1 ido
) (1 3) (1 l1
))
134 (f2cl-lib:fref cc-%data%
135 (m1 (f2cl-lib:int-sub ic
1) 2 k
)
136 ((1 in1
) (1 ido
) (1 3) (1 l1
))
138 (setf (f2cl-lib:fref ch-%data%
140 ((1 in2
) (1 ido
) (1 l1
) (1 3))
143 (f2cl-lib:fref cc-%data%
145 ((1 in1
) (1 ido
) (1 3) (1 l1
))
148 (f2cl-lib:fref cc-%data%
150 ((1 in1
) (1 ido
) (1 3) (1 l1
))
152 (f2cl-lib:fref cc-%data%
154 ((1 in1
) (1 ido
) (1 3) (1 l1
))
156 (setf (f2cl-lib:fref ch-%data%
157 (m2 (f2cl-lib:int-sub i
1) k
2)
158 ((1 in2
) (1 ido
) (1 l1
) (1 3))
162 (f2cl-lib:fref wa1-%data%
163 ((f2cl-lib:int-sub i
2))
168 (f2cl-lib:fref cc-%data%
169 (m1 (f2cl-lib:int-sub i
1) 1 k
)
170 ((1 in1
) (1 ido
) (1 3) (1 l1
))
174 (f2cl-lib:fref cc-%data%
175 (m1 (f2cl-lib:int-sub i
1) 3
177 ((1 in1
) (1 ido
) (1 3) (1 l1
))
179 (f2cl-lib:fref cc-%data%
180 (m1 (f2cl-lib:int-sub ic
1) 2
182 ((1 in1
) (1 ido
) (1 3) (1 l1
))
186 (f2cl-lib:fref cc-%data%
188 ((1 in1
) (1 ido
) (1 3) (1 l1
))
190 (f2cl-lib:fref cc-%data%
192 ((1 in1
) (1 ido
) (1 3) (1 l1
))
195 (f2cl-lib:fref wa1-%data%
196 ((f2cl-lib:int-sub i
1))
200 (f2cl-lib:fref cc-%data%
202 ((1 in1
) (1 ido
) (1 3) (1 l1
))
206 (f2cl-lib:fref cc-%data%
208 ((1 in1
) (1 ido
) (1 3) (1 l1
))
210 (f2cl-lib:fref cc-%data%
212 ((1 in1
) (1 ido
) (1 3) (1 l1
))
216 (f2cl-lib:fref cc-%data%
217 (m1 (f2cl-lib:int-sub i
1) 3 k
)
218 ((1 in1
) (1 ido
) (1 3) (1 l1
))
220 (f2cl-lib:fref cc-%data%
221 (m1 (f2cl-lib:int-sub ic
1) 2
223 ((1 in1
) (1 ido
) (1 3) (1 l1
))
225 (setf (f2cl-lib:fref ch-%data%
227 ((1 in2
) (1 ido
) (1 l1
) (1 3))
231 (f2cl-lib:fref wa1-%data%
232 ((f2cl-lib:int-sub i
2))
236 (f2cl-lib:fref cc-%data%
238 ((1 in1
) (1 ido
) (1 3) (1 l1
))
242 (f2cl-lib:fref cc-%data%
244 ((1 in1
) (1 ido
) (1 3) (1 l1
))
246 (f2cl-lib:fref cc-%data%
248 ((1 in1
) (1 ido
) (1 3) (1 l1
))
252 (f2cl-lib:fref cc-%data%
253 (m1 (f2cl-lib:int-sub i
1) 3 k
)
254 ((1 in1
) (1 ido
) (1 3) (1 l1
))
256 (f2cl-lib:fref cc-%data%
257 (m1 (f2cl-lib:int-sub ic
1) 2
259 ((1 in1
) (1 ido
) (1 3) (1 l1
))
262 (f2cl-lib:fref wa1-%data%
263 ((f2cl-lib:int-sub i
1))
268 (f2cl-lib:fref cc-%data%
269 (m1 (f2cl-lib:int-sub i
1) 1 k
)
270 ((1 in1
) (1 ido
) (1 3) (1 l1
))
274 (f2cl-lib:fref cc-%data%
275 (m1 (f2cl-lib:int-sub i
1) 3
277 ((1 in1
) (1 ido
) (1 3) (1 l1
))
279 (f2cl-lib:fref cc-%data%
280 (m1 (f2cl-lib:int-sub ic
1) 2
282 ((1 in1
) (1 ido
) (1 3) (1 l1
))
286 (f2cl-lib:fref cc-%data%
288 ((1 in1
) (1 ido
) (1 3) (1 l1
))
290 (f2cl-lib:fref cc-%data%
292 ((1 in1
) (1 ido
) (1 3) (1 l1
))
294 (setf (f2cl-lib:fref ch-%data%
295 (m2 (f2cl-lib:int-sub i
1) k
3)
296 ((1 in2
) (1 ido
) (1 l1
) (1 3))
300 (f2cl-lib:fref wa2-%data%
301 ((f2cl-lib:int-sub i
2))
305 (f2cl-lib:fref cc-%data%
306 (m1 (f2cl-lib:int-sub i
1) 1 k
)
307 ((1 in1
) (1 ido
) (1 3) (1 l1
))
311 (f2cl-lib:fref cc-%data%
312 (m1 (f2cl-lib:int-sub i
1) 3 k
)
313 ((1 in1
) (1 ido
) (1 3) (1 l1
))
315 (f2cl-lib:fref cc-%data%
316 (m1 (f2cl-lib:int-sub ic
1) 2
318 ((1 in1
) (1 ido
) (1 3) (1 l1
))
322 (f2cl-lib:fref cc-%data%
324 ((1 in1
) (1 ido
) (1 3) (1 l1
))
326 (f2cl-lib:fref cc-%data%
328 ((1 in1
) (1 ido
) (1 3) (1 l1
))
331 (f2cl-lib:fref wa2-%data%
332 ((f2cl-lib:int-sub i
1))
337 (f2cl-lib:fref cc-%data%
339 ((1 in1
) (1 ido
) (1 3) (1 l1
))
343 (f2cl-lib:fref cc-%data%
345 ((1 in1
) (1 ido
) (1 3) (1 l1
))
347 (f2cl-lib:fref cc-%data%
349 ((1 in1
) (1 ido
) (1 3) (1 l1
))
353 (f2cl-lib:fref cc-%data%
354 (m1 (f2cl-lib:int-sub i
1) 3 k
)
355 ((1 in1
) (1 ido
) (1 3) (1 l1
))
357 (f2cl-lib:fref cc-%data%
358 (m1 (f2cl-lib:int-sub ic
1) 2
360 ((1 in1
) (1 ido
) (1 3) (1 l1
))
362 (setf (f2cl-lib:fref ch-%data%
364 ((1 in2
) (1 ido
) (1 l1
) (1 3))
368 (f2cl-lib:fref wa2-%data%
369 ((f2cl-lib:int-sub i
2))
374 (f2cl-lib:fref cc-%data%
376 ((1 in1
) (1 ido
) (1 3) (1 l1
))
380 (f2cl-lib:fref cc-%data%
382 ((1 in1
) (1 ido
) (1 3) (1 l1
))
384 (f2cl-lib:fref cc-%data%
386 ((1 in1
) (1 ido
) (1 3) (1 l1
))
390 (f2cl-lib:fref cc-%data%
391 (m1 (f2cl-lib:int-sub i
1) 3 k
)
392 ((1 in1
) (1 ido
) (1 3) (1 l1
))
394 (f2cl-lib:fref cc-%data%
395 (m1 (f2cl-lib:int-sub ic
1) 2
397 ((1 in1
) (1 ido
) (1 3) (1 l1
))
400 (f2cl-lib:fref wa2-%data%
401 ((f2cl-lib:int-sub i
1))
405 (f2cl-lib:fref cc-%data%
406 (m1 (f2cl-lib:int-sub i
1) 1 k
)
407 ((1 in1
) (1 ido
) (1 3) (1 l1
))
411 (f2cl-lib:fref cc-%data%
412 (m1 (f2cl-lib:int-sub i
1) 3 k
)
413 ((1 in1
) (1 ido
) (1 3) (1 l1
))
415 (f2cl-lib:fref cc-%data%
416 (m1 (f2cl-lib:int-sub ic
1) 2
418 ((1 in1
) (1 ido
) (1 3) (1 l1
))
422 (f2cl-lib:fref cc-%data%
424 ((1 in1
) (1 ido
) (1 3) (1 l1
))
426 (f2cl-lib:fref cc-%data%
428 ((1 in1
) (1 ido
) (1 3) (1 l1
))
435 (return (values nil nil nil nil nil nil nil nil nil nil nil
)))))
437 (in-package #:cl-user
)
438 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
439 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
440 (setf (gethash 'fortran-to-lisp
::mradb3
441 fortran-to-lisp
::*f2cl-function-info
*)
442 (fortran-to-lisp::make-f2cl-finfo
443 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
444 (fortran-to-lisp::integer4
) (array double-float
(*))
445 (fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
446 (array double-float
(*)) (fortran-to-lisp::integer4
)
447 (fortran-to-lisp::integer4
) (array double-float
(*))
448 (array double-float
(*)))
449 :return-values
'(nil nil nil nil nil nil nil nil nil nil nil
)