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 (let ((taur -
0.5d0
) (taui -
0.866025403784439d0
))
21 (declare (type (double-float) taur taui
))
22 (defun c1f3kf (ido l1 na cc in1 ch in2 wa
)
23 (declare (type (array double-float
(*)) wa ch cc
)
24 (type (f2cl-lib:integer4
) in2 in1 na l1 ido
))
25 (f2cl-lib:with-multi-array-data
26 ((cc double-float cc-%data% cc-%offset%
)
27 (ch double-float ch-%data% ch-%offset%
)
28 (wa double-float wa-%data% wa-%offset%
))
29 (prog ((di3 0.0d0
) (di2 0.0d0
) (dr3 0.0d0
) (dr2 0.0d0
) (i 0) (ci3 0.0d0
)
30 (cr3 0.0d0
) (ci2 0.0d0
) (ti2 0.0d0
) (cr2 0.0d0
) (tr2 0.0d0
) (k 0)
32 (declare (type (f2cl-lib:integer4
) k i
)
33 (type (double-float) sn tr2 cr2 ti2 ci2 cr3 ci3 dr2 dr3 di2
35 (if (> ido
1) (go label102
))
36 (setf sn
(/ 1.0d0
(f2cl-lib:freal
(f2cl-lib:int-mul
3 l1
))))
37 (if (= na
1) (go label106
))
38 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
43 (f2cl-lib:fref cc-%data%
45 ((1 in1
) (1 l1
) (1 ido
) (1 3))
47 (f2cl-lib:fref cc-%data%
49 ((1 in1
) (1 l1
) (1 ido
) (1 3))
53 (f2cl-lib:fref cc-%data%
55 ((1 in1
) (1 l1
) (1 ido
) (1 3))
58 (setf (f2cl-lib:fref cc-%data%
60 ((1 in1
) (1 l1
) (1 ido
) (1 3))
64 (f2cl-lib:fref cc-%data%
66 ((1 in1
) (1 l1
) (1 ido
) (1 3))
71 (f2cl-lib:fref cc-%data%
73 ((1 in1
) (1 l1
) (1 ido
) (1 3))
75 (f2cl-lib:fref cc-%data%
77 ((1 in1
) (1 l1
) (1 ido
) (1 3))
81 (f2cl-lib:fref cc-%data%
83 ((1 in1
) (1 l1
) (1 ido
) (1 3))
86 (setf (f2cl-lib:fref cc-%data%
88 ((1 in1
) (1 l1
) (1 ido
) (1 3))
92 (f2cl-lib:fref cc-%data%
94 ((1 in1
) (1 l1
) (1 ido
) (1 3))
100 (f2cl-lib:fref cc-%data%
102 ((1 in1
) (1 l1
) (1 ido
) (1 3))
104 (f2cl-lib:fref cc-%data%
106 ((1 in1
) (1 l1
) (1 ido
) (1 3))
111 (f2cl-lib:fref cc-%data%
113 ((1 in1
) (1 l1
) (1 ido
) (1 3))
115 (f2cl-lib:fref cc-%data%
117 ((1 in1
) (1 l1
) (1 ido
) (1 3))
119 (setf (f2cl-lib:fref cc-%data%
121 ((1 in1
) (1 l1
) (1 ido
) (1 3))
124 (setf (f2cl-lib:fref cc-%data%
126 ((1 in1
) (1 l1
) (1 ido
) (1 3))
129 (setf (f2cl-lib:fref cc-%data%
131 ((1 in1
) (1 l1
) (1 ido
) (1 3))
134 (setf (f2cl-lib:fref cc-%data%
136 ((1 in1
) (1 l1
) (1 ido
) (1 3))
142 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
147 (f2cl-lib:fref cc-%data%
149 ((1 in1
) (1 l1
) (1 ido
) (1 3))
151 (f2cl-lib:fref cc-%data%
153 ((1 in1
) (1 l1
) (1 ido
) (1 3))
157 (f2cl-lib:fref cc-%data%
159 ((1 in1
) (1 l1
) (1 ido
) (1 3))
162 (setf (f2cl-lib:fref ch-%data%
164 ((1 in2
) (1 l1
) (1 3) (1 ido
))
168 (f2cl-lib:fref cc-%data%
170 ((1 in1
) (1 l1
) (1 ido
) (1 3))
175 (f2cl-lib:fref cc-%data%
177 ((1 in1
) (1 l1
) (1 ido
) (1 3))
179 (f2cl-lib:fref cc-%data%
181 ((1 in1
) (1 l1
) (1 ido
) (1 3))
185 (f2cl-lib:fref cc-%data%
187 ((1 in1
) (1 l1
) (1 ido
) (1 3))
190 (setf (f2cl-lib:fref ch-%data%
192 ((1 in2
) (1 l1
) (1 3) (1 ido
))
196 (f2cl-lib:fref cc-%data%
198 ((1 in1
) (1 l1
) (1 ido
) (1 3))
204 (f2cl-lib:fref cc-%data%
206 ((1 in1
) (1 l1
) (1 ido
) (1 3))
208 (f2cl-lib:fref cc-%data%
210 ((1 in1
) (1 l1
) (1 ido
) (1 3))
215 (f2cl-lib:fref cc-%data%
217 ((1 in1
) (1 l1
) (1 ido
) (1 3))
219 (f2cl-lib:fref cc-%data%
221 ((1 in1
) (1 l1
) (1 ido
) (1 3))
223 (setf (f2cl-lib:fref ch-%data%
225 ((1 in2
) (1 l1
) (1 3) (1 ido
))
228 (setf (f2cl-lib:fref ch-%data%
230 ((1 in2
) (1 l1
) (1 3) (1 ido
))
233 (setf (f2cl-lib:fref ch-%data%
235 ((1 in2
) (1 l1
) (1 3) (1 ido
))
238 (setf (f2cl-lib:fref ch-%data%
240 ((1 in2
) (1 l1
) (1 3) (1 ido
))
246 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
251 (f2cl-lib:fref cc-%data%
253 ((1 in1
) (1 l1
) (1 ido
) (1 3))
255 (f2cl-lib:fref cc-%data%
257 ((1 in1
) (1 l1
) (1 ido
) (1 3))
261 (f2cl-lib:fref cc-%data%
263 ((1 in1
) (1 l1
) (1 ido
) (1 3))
266 (setf (f2cl-lib:fref ch-%data%
268 ((1 in2
) (1 l1
) (1 3) (1 ido
))
271 (f2cl-lib:fref cc-%data%
273 ((1 in1
) (1 l1
) (1 ido
) (1 3))
278 (f2cl-lib:fref cc-%data%
280 ((1 in1
) (1 l1
) (1 ido
) (1 3))
282 (f2cl-lib:fref cc-%data%
284 ((1 in1
) (1 l1
) (1 ido
) (1 3))
288 (f2cl-lib:fref cc-%data%
290 ((1 in1
) (1 l1
) (1 ido
) (1 3))
293 (setf (f2cl-lib:fref ch-%data%
295 ((1 in2
) (1 l1
) (1 3) (1 ido
))
298 (f2cl-lib:fref cc-%data%
300 ((1 in1
) (1 l1
) (1 ido
) (1 3))
306 (f2cl-lib:fref cc-%data%
308 ((1 in1
) (1 l1
) (1 ido
) (1 3))
310 (f2cl-lib:fref cc-%data%
312 ((1 in1
) (1 l1
) (1 ido
) (1 3))
317 (f2cl-lib:fref cc-%data%
319 ((1 in1
) (1 l1
) (1 ido
) (1 3))
321 (f2cl-lib:fref cc-%data%
323 ((1 in1
) (1 l1
) (1 ido
) (1 3))
325 (setf (f2cl-lib:fref ch-%data%
327 ((1 in2
) (1 l1
) (1 3) (1 ido
))
330 (setf (f2cl-lib:fref ch-%data%
332 ((1 in2
) (1 l1
) (1 3) (1 ido
))
335 (setf (f2cl-lib:fref ch-%data%
337 ((1 in2
) (1 l1
) (1 3) (1 ido
))
340 (setf (f2cl-lib:fref ch-%data%
342 ((1 in2
) (1 l1
) (1 3) (1 ido
))
346 (f2cl-lib:fdo
(i 2 (f2cl-lib:int-add i
1))
349 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
354 (f2cl-lib:fref cc-%data%
356 ((1 in1
) (1 l1
) (1 ido
) (1 3))
358 (f2cl-lib:fref cc-%data%
360 ((1 in1
) (1 l1
) (1 ido
) (1 3))
364 (f2cl-lib:fref cc-%data%
366 ((1 in1
) (1 l1
) (1 ido
) (1 3))
369 (setf (f2cl-lib:fref ch-%data%
371 ((1 in2
) (1 l1
) (1 3) (1 ido
))
374 (f2cl-lib:fref cc-%data%
376 ((1 in1
) (1 l1
) (1 ido
) (1 3))
381 (f2cl-lib:fref cc-%data%
383 ((1 in1
) (1 l1
) (1 ido
) (1 3))
385 (f2cl-lib:fref cc-%data%
387 ((1 in1
) (1 l1
) (1 ido
) (1 3))
391 (f2cl-lib:fref cc-%data%
393 ((1 in1
) (1 l1
) (1 ido
) (1 3))
396 (setf (f2cl-lib:fref ch-%data%
398 ((1 in2
) (1 l1
) (1 3) (1 ido
))
401 (f2cl-lib:fref cc-%data%
403 ((1 in1
) (1 l1
) (1 ido
) (1 3))
409 (f2cl-lib:fref cc-%data%
411 ((1 in1
) (1 l1
) (1 ido
) (1 3))
413 (f2cl-lib:fref cc-%data%
415 ((1 in1
) (1 l1
) (1 ido
) (1 3))
420 (f2cl-lib:fref cc-%data%
422 ((1 in1
) (1 l1
) (1 ido
) (1 3))
424 (f2cl-lib:fref cc-%data%
426 ((1 in1
) (1 l1
) (1 ido
) (1 3))
428 (setf dr2
(- cr2 ci3
))
429 (setf dr3
(+ cr2 ci3
))
430 (setf di2
(+ ci2 cr3
))
431 (setf di3
(- ci2 cr3
))
432 (setf (f2cl-lib:fref ch-%data%
434 ((1 in2
) (1 l1
) (1 3) (1 ido
))
438 (f2cl-lib:fref wa-%data%
440 ((1 ido
) (1 2) (1 2))
444 (f2cl-lib:fref wa-%data%
446 ((1 ido
) (1 2) (1 2))
449 (setf (f2cl-lib:fref ch-%data%
451 ((1 in2
) (1 l1
) (1 3) (1 ido
))
455 (f2cl-lib:fref wa-%data%
457 ((1 ido
) (1 2) (1 2))
461 (f2cl-lib:fref wa-%data%
463 ((1 ido
) (1 2) (1 2))
466 (setf (f2cl-lib:fref ch-%data%
468 ((1 in2
) (1 l1
) (1 3) (1 ido
))
472 (f2cl-lib:fref wa-%data%
474 ((1 ido
) (1 2) (1 2))
478 (f2cl-lib:fref wa-%data%
480 ((1 ido
) (1 2) (1 2))
483 (setf (f2cl-lib:fref ch-%data%
485 ((1 in2
) (1 l1
) (1 3) (1 ido
))
489 (f2cl-lib:fref wa-%data%
491 ((1 ido
) (1 2) (1 2))
495 (f2cl-lib:fref wa-%data%
497 ((1 ido
) (1 2) (1 2))
504 (return (values nil nil nil nil nil nil nil nil
))))))
506 (in-package #:cl-user
)
507 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
508 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
509 (setf (gethash 'fortran-to-lisp
::c1f3kf
510 fortran-to-lisp
::*f2cl-function-info
*)
511 (fortran-to-lisp::make-f2cl-finfo
512 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
513 (fortran-to-lisp::integer4
) (array double-float
(*))
514 (fortran-to-lisp::integer4
) (array double-float
(*))
515 (fortran-to-lisp::integer4
) (array double-float
(*)))
516 :return-values
'(nil nil nil nil nil nil nil nil
)