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 mradf3 (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 3) (1 l1
))
52 (f2cl-lib:fref cc-%data%
54 ((1 in1
) (1 ido
) (1 l1
) (1 3))
57 (f2cl-lib:fref cc-%data%
59 ((1 in1
) (1 ido
) (1 l1
) (1 3))
61 (f2cl-lib:fref cc-%data%
63 ((1 in1
) (1 ido
) (1 l1
) (1 3))
65 (setf (f2cl-lib:fref ch-%data%
67 ((1 in2
) (1 ido
) (1 3) (1 l1
))
71 (f2cl-lib:fref cc-%data%
73 ((1 in1
) (1 ido
) (1 l1
) (1 3))
75 (f2cl-lib:fref cc-%data%
77 ((1 in1
) (1 ido
) (1 l1
) (1 3))
79 (setf (f2cl-lib:fref ch-%data%
81 ((1 in2
) (1 ido
) (1 3) (1 l1
))
84 (f2cl-lib:fref cc-%data%
86 ((1 in1
) (1 ido
) (1 l1
) (1 3))
90 (f2cl-lib:fref cc-%data%
92 ((1 in1
) (1 ido
) (1 l1
) (1 3))
94 (f2cl-lib:fref cc-%data%
96 ((1 in1
) (1 ido
) (1 l1
) (1 3))
100 (if (= ido
1) (go end_label
))
101 (setf idp2
(f2cl-lib:int-add ido
2))
102 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
105 (f2cl-lib:fdo
(i 3 (f2cl-lib:int-add i
2))
108 (setf ic
(f2cl-lib:int-sub idp2 i
))
110 (f2cl-lib:fdo
(m1 1 (f2cl-lib:int-add m1 im1
))
113 (setf m2
(f2cl-lib:int-add m2 im2
))
114 (setf (f2cl-lib:fref ch-%data%
115 (m2 (f2cl-lib:int-sub i
1) 1 k
)
116 ((1 in2
) (1 ido
) (1 3) (1 l1
))
119 (f2cl-lib:fref cc-%data%
120 (m1 (f2cl-lib:int-sub i
1) k
1)
121 ((1 in1
) (1 ido
) (1 l1
) (1 3))
125 (f2cl-lib:fref wa1-%data%
126 ((f2cl-lib:int-sub i
2))
129 (f2cl-lib:fref cc-%data%
130 (m1 (f2cl-lib:int-sub i
1) k
2)
131 ((1 in1
) (1 ido
) (1 l1
) (1 3))
134 (f2cl-lib:fref wa1-%data%
135 ((f2cl-lib:int-sub i
1))
138 (f2cl-lib:fref cc-%data%
140 ((1 in1
) (1 ido
) (1 l1
) (1 3))
144 (f2cl-lib:fref wa2-%data%
145 ((f2cl-lib:int-sub i
2))
148 (f2cl-lib:fref cc-%data%
149 (m1 (f2cl-lib:int-sub i
1) k
3)
150 ((1 in1
) (1 ido
) (1 l1
) (1 3))
153 (f2cl-lib:fref wa2-%data%
154 ((f2cl-lib:int-sub i
1))
157 (f2cl-lib:fref cc-%data%
159 ((1 in1
) (1 ido
) (1 l1
) (1 3))
161 (setf (f2cl-lib:fref ch-%data%
163 ((1 in2
) (1 ido
) (1 3) (1 l1
))
166 (f2cl-lib:fref cc-%data%
168 ((1 in1
) (1 ido
) (1 l1
) (1 3))
173 (f2cl-lib:fref wa1-%data%
174 ((f2cl-lib:int-sub i
2))
177 (f2cl-lib:fref cc-%data%
179 ((1 in1
) (1 ido
) (1 l1
) (1 3))
182 (f2cl-lib:fref wa1-%data%
183 ((f2cl-lib:int-sub i
1))
186 (f2cl-lib:fref cc-%data%
187 (m1 (f2cl-lib:int-sub i
1) k
2)
188 ((1 in1
) (1 ido
) (1 l1
) (1 3))
192 (f2cl-lib:fref wa2-%data%
193 ((f2cl-lib:int-sub i
2))
196 (f2cl-lib:fref cc-%data%
198 ((1 in1
) (1 ido
) (1 l1
) (1 3))
201 (f2cl-lib:fref wa2-%data%
202 ((f2cl-lib:int-sub i
1))
205 (f2cl-lib:fref cc-%data%
206 (m1 (f2cl-lib:int-sub i
1) k
3)
207 ((1 in1
) (1 ido
) (1 l1
) (1 3))
209 (setf (f2cl-lib:fref ch-%data%
210 (m2 (f2cl-lib:int-sub i
1) 3 k
)
211 ((1 in2
) (1 ido
) (1 3) (1 l1
))
214 (f2cl-lib:fref cc-%data%
215 (m1 (f2cl-lib:int-sub i
1) k
1)
216 ((1 in1
) (1 ido
) (1 l1
) (1 3))
221 (f2cl-lib:fref wa1-%data%
222 ((f2cl-lib:int-sub i
2))
225 (f2cl-lib:fref cc-%data%
226 (m1 (f2cl-lib:int-sub i
1) k
2)
227 ((1 in1
) (1 ido
) (1 l1
) (1 3))
230 (f2cl-lib:fref wa1-%data%
231 ((f2cl-lib:int-sub i
1))
234 (f2cl-lib:fref cc-%data%
236 ((1 in1
) (1 ido
) (1 l1
) (1 3))
240 (f2cl-lib:fref wa2-%data%
241 ((f2cl-lib:int-sub i
2))
244 (f2cl-lib:fref cc-%data%
245 (m1 (f2cl-lib:int-sub i
1) k
3)
246 ((1 in1
) (1 ido
) (1 l1
) (1 3))
249 (f2cl-lib:fref wa2-%data%
250 ((f2cl-lib:int-sub i
1))
253 (f2cl-lib:fref cc-%data%
255 ((1 in1
) (1 ido
) (1 l1
) (1 3))
260 (f2cl-lib:fref wa1-%data%
261 ((f2cl-lib:int-sub i
2))
264 (f2cl-lib:fref cc-%data%
266 ((1 in1
) (1 ido
) (1 l1
) (1 3))
269 (f2cl-lib:fref wa1-%data%
270 ((f2cl-lib:int-sub i
1))
273 (f2cl-lib:fref cc-%data%
274 (m1 (f2cl-lib:int-sub i
1) k
2)
275 ((1 in1
) (1 ido
) (1 l1
) (1 3))
279 (f2cl-lib:fref wa2-%data%
280 ((f2cl-lib:int-sub i
2))
283 (f2cl-lib:fref cc-%data%
285 ((1 in1
) (1 ido
) (1 l1
) (1 3))
288 (f2cl-lib:fref wa2-%data%
289 ((f2cl-lib:int-sub i
1))
292 (f2cl-lib:fref cc-%data%
293 (m1 (f2cl-lib:int-sub i
1) k
3)
294 ((1 in1
) (1 ido
) (1 l1
) (1 3))
296 (setf (f2cl-lib:fref ch-%data%
297 (m2 (f2cl-lib:int-sub ic
1) 2 k
)
298 ((1 in2
) (1 ido
) (1 3) (1 l1
))
302 (f2cl-lib:fref cc-%data%
303 (m1 (f2cl-lib:int-sub i
1) k
1)
304 ((1 in1
) (1 ido
) (1 l1
) (1 3))
309 (f2cl-lib:fref wa1-%data%
310 ((f2cl-lib:int-sub i
2))
313 (f2cl-lib:fref cc-%data%
314 (m1 (f2cl-lib:int-sub i
1) k
2)
315 ((1 in1
) (1 ido
) (1 l1
) (1 3))
318 (f2cl-lib:fref wa1-%data%
319 ((f2cl-lib:int-sub i
1))
322 (f2cl-lib:fref cc-%data%
324 ((1 in1
) (1 ido
) (1 l1
) (1 3))
328 (f2cl-lib:fref wa2-%data%
329 ((f2cl-lib:int-sub i
2))
332 (f2cl-lib:fref cc-%data%
333 (m1 (f2cl-lib:int-sub i
1) k
335 ((1 in1
) (1 ido
) (1 l1
) (1 3))
338 (f2cl-lib:fref wa2-%data%
339 ((f2cl-lib:int-sub i
1))
342 (f2cl-lib:fref cc-%data%
344 ((1 in1
) (1 ido
) (1 l1
) (1 3))
349 (f2cl-lib:fref wa1-%data%
350 ((f2cl-lib:int-sub i
2))
353 (f2cl-lib:fref cc-%data%
355 ((1 in1
) (1 ido
) (1 l1
) (1 3))
358 (f2cl-lib:fref wa1-%data%
359 ((f2cl-lib:int-sub i
1))
362 (f2cl-lib:fref cc-%data%
363 (m1 (f2cl-lib:int-sub i
1) k
2)
364 ((1 in1
) (1 ido
) (1 l1
) (1 3))
368 (f2cl-lib:fref wa2-%data%
369 ((f2cl-lib:int-sub i
2))
372 (f2cl-lib:fref cc-%data%
374 ((1 in1
) (1 ido
) (1 l1
) (1 3))
377 (f2cl-lib:fref wa2-%data%
378 ((f2cl-lib:int-sub i
1))
381 (f2cl-lib:fref cc-%data%
382 (m1 (f2cl-lib:int-sub i
1) k
3)
383 ((1 in1
) (1 ido
) (1 l1
) (1 3))
385 (setf (f2cl-lib:fref ch-%data%
387 ((1 in2
) (1 ido
) (1 3) (1 l1
))
390 (f2cl-lib:fref cc-%data%
392 ((1 in1
) (1 ido
) (1 l1
) (1 3))
398 (f2cl-lib:fref wa1-%data%
399 ((f2cl-lib:int-sub i
2))
402 (f2cl-lib:fref cc-%data%
404 ((1 in1
) (1 ido
) (1 l1
) (1 3))
407 (f2cl-lib:fref wa1-%data%
408 ((f2cl-lib:int-sub i
1))
411 (f2cl-lib:fref cc-%data%
412 (m1 (f2cl-lib:int-sub i
1) k
2)
413 ((1 in1
) (1 ido
) (1 l1
) (1 3))
417 (f2cl-lib:fref wa2-%data%
418 ((f2cl-lib:int-sub i
2))
421 (f2cl-lib:fref cc-%data%
423 ((1 in1
) (1 ido
) (1 l1
) (1 3))
426 (f2cl-lib:fref wa2-%data%
427 ((f2cl-lib:int-sub i
1))
430 (f2cl-lib:fref cc-%data%
431 (m1 (f2cl-lib:int-sub i
1) k
3)
432 ((1 in1
) (1 ido
) (1 l1
) (1 3))
438 (f2cl-lib:fref wa2-%data%
439 ((f2cl-lib:int-sub i
2))
442 (f2cl-lib:fref cc-%data%
443 (m1 (f2cl-lib:int-sub i
1) k
3)
444 ((1 in1
) (1 ido
) (1 l1
) (1 3))
447 (f2cl-lib:fref wa2-%data%
448 ((f2cl-lib:int-sub i
1))
451 (f2cl-lib:fref cc-%data%
453 ((1 in1
) (1 ido
) (1 l1
) (1 3))
457 (f2cl-lib:fref wa1-%data%
458 ((f2cl-lib:int-sub i
2))
461 (f2cl-lib:fref cc-%data%
462 (m1 (f2cl-lib:int-sub i
1) k
2)
463 ((1 in1
) (1 ido
) (1 l1
) (1 3))
466 (f2cl-lib:fref wa1-%data%
467 ((f2cl-lib:int-sub i
1))
470 (f2cl-lib:fref cc-%data%
472 ((1 in1
) (1 ido
) (1 l1
) (1 3))
474 (setf (f2cl-lib:fref ch-%data%
476 ((1 in2
) (1 ido
) (1 3) (1 l1
))
483 (f2cl-lib:fref wa2-%data%
484 ((f2cl-lib:int-sub i
2))
487 (f2cl-lib:fref cc-%data%
488 (m1 (f2cl-lib:int-sub i
1) k
3)
489 ((1 in1
) (1 ido
) (1 l1
) (1 3))
492 (f2cl-lib:fref wa2-%data%
493 ((f2cl-lib:int-sub i
1))
496 (f2cl-lib:fref cc-%data%
498 ((1 in1
) (1 ido
) (1 l1
) (1 3))
502 (f2cl-lib:fref wa1-%data%
503 ((f2cl-lib:int-sub i
2))
506 (f2cl-lib:fref cc-%data%
507 (m1 (f2cl-lib:int-sub i
1) k
2)
508 ((1 in1
) (1 ido
) (1 l1
) (1 3))
511 (f2cl-lib:fref wa1-%data%
512 ((f2cl-lib:int-sub i
1))
515 (f2cl-lib:fref cc-%data%
517 ((1 in1
) (1 ido
) (1 l1
) (1 3))
520 (f2cl-lib:fref cc-%data%
522 ((1 in1
) (1 ido
) (1 l1
) (1 3))
528 (f2cl-lib:fref wa1-%data%
529 ((f2cl-lib:int-sub i
2))
532 (f2cl-lib:fref cc-%data%
534 ((1 in1
) (1 ido
) (1 l1
) (1 3))
537 (f2cl-lib:fref wa1-%data%
538 ((f2cl-lib:int-sub i
1))
541 (f2cl-lib:fref cc-%data%
542 (m1 (f2cl-lib:int-sub i
1) k
544 ((1 in1
) (1 ido
) (1 l1
) (1 3))
548 (f2cl-lib:fref wa2-%data%
549 ((f2cl-lib:int-sub i
2))
552 (f2cl-lib:fref cc-%data%
554 ((1 in1
) (1 ido
) (1 l1
) (1 3))
557 (f2cl-lib:fref wa2-%data%
558 ((f2cl-lib:int-sub i
1))
561 (f2cl-lib:fref cc-%data%
562 (m1 (f2cl-lib:int-sub i
1) k
564 ((1 in1
) (1 ido
) (1 l1
) (1 3))
571 (return (values nil nil nil nil nil nil nil nil nil nil nil
)))))
573 (in-package #:cl-user
)
574 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
575 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
576 (setf (gethash 'fortran-to-lisp
::mradf3
577 fortran-to-lisp
::*f2cl-function-info
*)
578 (fortran-to-lisp::make-f2cl-finfo
579 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
580 (fortran-to-lisp::integer4
) (array double-float
(*))
581 (fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
582 (array double-float
(*)) (fortran-to-lisp::integer4
)
583 (fortran-to-lisp::integer4
) (array double-float
(*))
584 (array double-float
(*)))
585 :return-values
'(nil nil nil nil nil nil nil nil nil nil nil
)