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 c1fgkb (ido ip l1 lid na cc cc1 in1 ch ch1 in2 wa
)
21 (declare (type (array double-float
(*)) wa ch1 ch cc1 cc
)
22 (type (f2cl-lib:integer4
) in2 in1 na lid l1 ip ido
))
23 (f2cl-lib:with-multi-array-data
24 ((cc double-float cc-%data% cc-%offset%
)
25 (cc1 double-float cc1-%data% cc1-%offset%
)
26 (ch double-float ch-%data% ch-%offset%
)
27 (ch1 double-float ch1-%data% ch1-%offset%
)
28 (wa double-float wa-%data% wa-%offset%
))
29 (prog ((k 0) (i 0) (chold2 0.0d0
) (chold1 0.0d0
) (wai 0.0d0
) (war 0.0d0
)
30 (idlj 0) (lc 0) (l 0) (jc 0) (j 0) (ki 0) (ipph 0) (ipp2 0))
31 (declare (type (double-float) war wai chold1 chold2
)
32 (type (f2cl-lib:integer4
) ipp2 ipph ki j jc l lc idlj i k
))
33 (setf ipp2
(f2cl-lib:int-add ip
2))
34 (setf ipph
(the f2cl-lib
:integer4
(truncate (+ ip
1) 2)))
35 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
38 (setf (f2cl-lib:fref ch1-%data%
40 ((1 in2
) (1 lid
) (1 ip
))
42 (f2cl-lib:fref cc1-%data%
44 ((1 in1
) (1 lid
) (1 ip
))
46 (setf (f2cl-lib:fref ch1-%data%
48 ((1 in2
) (1 lid
) (1 ip
))
50 (f2cl-lib:fref cc1-%data%
52 ((1 in1
) (1 lid
) (1 ip
))
55 (f2cl-lib:fdo
(j 2 (f2cl-lib:int-add j
1))
58 (setf jc
(f2cl-lib:int-sub ipp2 j
))
59 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
62 (setf (f2cl-lib:fref ch1-%data%
64 ((1 in2
) (1 lid
) (1 ip
))
67 (f2cl-lib:fref cc1-%data%
69 ((1 in1
) (1 lid
) (1 ip
))
71 (f2cl-lib:fref cc1-%data%
73 ((1 in1
) (1 lid
) (1 ip
))
75 (setf (f2cl-lib:fref ch1-%data%
77 ((1 in2
) (1 lid
) (1 ip
))
80 (f2cl-lib:fref cc1-%data%
82 ((1 in1
) (1 lid
) (1 ip
))
84 (f2cl-lib:fref cc1-%data%
86 ((1 in1
) (1 lid
) (1 ip
))
88 (setf (f2cl-lib:fref ch1-%data%
90 ((1 in2
) (1 lid
) (1 ip
))
93 (f2cl-lib:fref cc1-%data%
95 ((1 in1
) (1 lid
) (1 ip
))
97 (f2cl-lib:fref cc1-%data%
99 ((1 in1
) (1 lid
) (1 ip
))
101 (setf (f2cl-lib:fref ch1-%data%
103 ((1 in2
) (1 lid
) (1 ip
))
106 (f2cl-lib:fref cc1-%data%
108 ((1 in1
) (1 lid
) (1 ip
))
110 (f2cl-lib:fref cc1-%data%
112 ((1 in1
) (1 lid
) (1 ip
))
116 (f2cl-lib:fdo
(j 2 (f2cl-lib:int-add j
1))
119 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
122 (setf (f2cl-lib:fref cc1-%data%
124 ((1 in1
) (1 lid
) (1 ip
))
127 (f2cl-lib:fref cc1-%data%
129 ((1 in1
) (1 lid
) (1 ip
))
131 (f2cl-lib:fref ch1-%data%
133 ((1 in2
) (1 lid
) (1 ip
))
135 (setf (f2cl-lib:fref cc1-%data%
137 ((1 in1
) (1 lid
) (1 ip
))
140 (f2cl-lib:fref cc1-%data%
142 ((1 in1
) (1 lid
) (1 ip
))
144 (f2cl-lib:fref ch1-%data%
146 ((1 in2
) (1 lid
) (1 ip
))
150 (f2cl-lib:fdo
(l 2 (f2cl-lib:int-add l
1))
153 (setf lc
(f2cl-lib:int-sub ipp2 l
))
154 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
157 (setf (f2cl-lib:fref cc1-%data%
159 ((1 in1
) (1 lid
) (1 ip
))
162 (f2cl-lib:fref ch1-%data%
164 ((1 in2
) (1 lid
) (1 ip
))
167 (f2cl-lib:fref wa-%data%
168 (1 (f2cl-lib:int-sub l
1) 1)
176 (f2cl-lib:fref ch1-%data%
178 ((1 in2
) (1 lid
) (1 ip
))
180 (setf (f2cl-lib:fref cc1-%data%
182 ((1 in1
) (1 lid
) (1 ip
))
185 (f2cl-lib:fref wa-%data%
186 (1 (f2cl-lib:int-sub l
1) 2)
194 (f2cl-lib:fref ch1-%data%
196 ((1 in2
) (1 lid
) (1 ip
))
198 (setf (f2cl-lib:fref cc1-%data%
200 ((1 in1
) (1 lid
) (1 ip
))
203 (f2cl-lib:fref ch1-%data%
205 ((1 in2
) (1 lid
) (1 ip
))
208 (f2cl-lib:fref wa-%data%
209 (1 (f2cl-lib:int-sub l
1) 1)
217 (f2cl-lib:fref ch1-%data%
219 ((1 in2
) (1 lid
) (1 ip
))
221 (setf (f2cl-lib:fref cc1-%data%
223 ((1 in1
) (1 lid
) (1 ip
))
226 (f2cl-lib:fref wa-%data%
227 (1 (f2cl-lib:int-sub l
1) 2)
235 (f2cl-lib:fref ch1-%data%
237 ((1 in2
) (1 lid
) (1 ip
))
240 (f2cl-lib:fdo
(j 3 (f2cl-lib:int-add j
1))
243 (setf jc
(f2cl-lib:int-sub ipp2 j
))
246 (f2cl-lib:int-mul
(f2cl-lib:int-sub l
1)
247 (f2cl-lib:int-sub j
1))
250 (f2cl-lib:fref wa-%data%
255 (f2cl-lib:int-sub
1)))
259 (f2cl-lib:fref wa-%data%
264 (f2cl-lib:int-sub
1)))
267 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
270 (setf (f2cl-lib:fref cc1-%data%
272 ((1 in1
) (1 lid
) (1 ip
))
275 (f2cl-lib:fref cc1-%data%
277 ((1 in1
) (1 lid
) (1 ip
))
280 (f2cl-lib:fref ch1-%data%
282 ((1 in2
) (1 lid
) (1 ip
))
284 (setf (f2cl-lib:fref cc1-%data%
286 ((1 in1
) (1 lid
) (1 ip
))
289 (f2cl-lib:fref cc1-%data%
291 ((1 in1
) (1 lid
) (1 ip
))
294 (f2cl-lib:fref ch1-%data%
296 ((1 in2
) (1 lid
) (1 ip
))
298 (setf (f2cl-lib:fref cc1-%data%
300 ((1 in1
) (1 lid
) (1 ip
))
303 (f2cl-lib:fref cc1-%data%
305 ((1 in1
) (1 lid
) (1 ip
))
308 (f2cl-lib:fref ch1-%data%
310 ((1 in2
) (1 lid
) (1 ip
))
312 (setf (f2cl-lib:fref cc1-%data%
314 ((1 in1
) (1 lid
) (1 ip
))
317 (f2cl-lib:fref cc1-%data%
319 ((1 in1
) (1 lid
) (1 ip
))
322 (f2cl-lib:fref ch1-%data%
324 ((1 in2
) (1 lid
) (1 ip
))
329 (if (or (> ido
1) (= na
1)) (go label136
))
330 (f2cl-lib:fdo
(j 2 (f2cl-lib:int-add j
1))
333 (setf jc
(f2cl-lib:int-sub ipp2 j
))
334 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
339 (f2cl-lib:fref cc1-%data%
341 ((1 in1
) (1 lid
) (1 ip
))
343 (f2cl-lib:fref cc1-%data%
345 ((1 in1
) (1 lid
) (1 ip
))
349 (f2cl-lib:fref cc1-%data%
351 ((1 in1
) (1 lid
) (1 ip
))
353 (f2cl-lib:fref cc1-%data%
355 ((1 in1
) (1 lid
) (1 ip
))
357 (setf (f2cl-lib:fref cc1-%data%
359 ((1 in1
) (1 lid
) (1 ip
))
362 (setf (f2cl-lib:fref cc1-%data%
364 ((1 in1
) (1 lid
) (1 ip
))
367 (f2cl-lib:fref cc1-%data%
369 ((1 in1
) (1 lid
) (1 ip
))
371 (f2cl-lib:fref cc1-%data%
373 ((1 in1
) (1 lid
) (1 ip
))
375 (setf (f2cl-lib:fref cc1-%data%
377 ((1 in1
) (1 lid
) (1 ip
))
380 (f2cl-lib:fref cc1-%data%
382 ((1 in1
) (1 lid
) (1 ip
))
384 (f2cl-lib:fref cc1-%data%
386 ((1 in1
) (1 lid
) (1 ip
))
388 (setf (f2cl-lib:fref cc1-%data%
390 ((1 in1
) (1 lid
) (1 ip
))
397 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
400 (setf (f2cl-lib:fref ch1-%data%
402 ((1 in2
) (1 lid
) (1 ip
))
404 (f2cl-lib:fref cc1-%data%
406 ((1 in1
) (1 lid
) (1 ip
))
408 (setf (f2cl-lib:fref ch1-%data%
410 ((1 in2
) (1 lid
) (1 ip
))
412 (f2cl-lib:fref cc1-%data%
414 ((1 in1
) (1 lid
) (1 ip
))
417 (f2cl-lib:fdo
(j 2 (f2cl-lib:int-add j
1))
420 (setf jc
(f2cl-lib:int-sub ipp2 j
))
421 (f2cl-lib:fdo
(ki 1 (f2cl-lib:int-add ki
1))
424 (setf (f2cl-lib:fref ch1-%data%
426 ((1 in2
) (1 lid
) (1 ip
))
429 (f2cl-lib:fref cc1-%data%
431 ((1 in1
) (1 lid
) (1 ip
))
433 (f2cl-lib:fref cc1-%data%
435 ((1 in1
) (1 lid
) (1 ip
))
437 (setf (f2cl-lib:fref ch1-%data%
439 ((1 in2
) (1 lid
) (1 ip
))
442 (f2cl-lib:fref cc1-%data%
444 ((1 in1
) (1 lid
) (1 ip
))
446 (f2cl-lib:fref cc1-%data%
448 ((1 in1
) (1 lid
) (1 ip
))
450 (setf (f2cl-lib:fref ch1-%data%
452 ((1 in2
) (1 lid
) (1 ip
))
455 (f2cl-lib:fref cc1-%data%
457 ((1 in1
) (1 lid
) (1 ip
))
459 (f2cl-lib:fref cc1-%data%
461 ((1 in1
) (1 lid
) (1 ip
))
463 (setf (f2cl-lib:fref ch1-%data%
465 ((1 in2
) (1 lid
) (1 ip
))
468 (f2cl-lib:fref cc1-%data%
470 ((1 in1
) (1 lid
) (1 ip
))
472 (f2cl-lib:fref cc1-%data%
474 ((1 in1
) (1 lid
) (1 ip
))
478 (if (= ido
1) (go end_label
))
479 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
482 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
485 (setf (f2cl-lib:fref cc-%data%
487 ((1 in1
) (1 l1
) (1 ip
) (1 ido
))
489 (f2cl-lib:fref ch-%data%
491 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
493 (setf (f2cl-lib:fref cc-%data%
495 ((1 in1
) (1 l1
) (1 ip
) (1 ido
))
497 (f2cl-lib:fref ch-%data%
499 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
503 (f2cl-lib:fdo
(j 2 (f2cl-lib:int-add j
1))
506 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
509 (setf (f2cl-lib:fref cc-%data%
511 ((1 in1
) (1 l1
) (1 ip
) (1 ido
))
513 (f2cl-lib:fref ch-%data%
515 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
517 (setf (f2cl-lib:fref cc-%data%
519 ((1 in1
) (1 l1
) (1 ip
) (1 ido
))
521 (f2cl-lib:fref ch-%data%
523 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
527 (f2cl-lib:fdo
(j 2 (f2cl-lib:int-add j
1))
530 (f2cl-lib:fdo
(i 2 (f2cl-lib:int-add i
1))
533 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
536 (setf (f2cl-lib:fref cc-%data%
538 ((1 in1
) (1 l1
) (1 ip
) (1 ido
))
542 (f2cl-lib:fref wa-%data%
543 (i (f2cl-lib:int-sub j
1) 1)
551 (f2cl-lib:fref ch-%data%
553 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
556 (f2cl-lib:fref wa-%data%
557 (i (f2cl-lib:int-sub j
1) 2)
565 (f2cl-lib:fref ch-%data%
567 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
569 (setf (f2cl-lib:fref cc-%data%
571 ((1 in1
) (1 l1
) (1 ip
) (1 ido
))
575 (f2cl-lib:fref wa-%data%
576 (i (f2cl-lib:int-sub j
1) 1)
584 (f2cl-lib:fref ch-%data%
586 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
589 (f2cl-lib:fref wa-%data%
590 (i (f2cl-lib:int-sub j
1) 2)
598 (f2cl-lib:fref ch-%data%
600 ((1 in2
) (1 l1
) (1 ido
) (1 ip
))
607 (return (values nil nil nil nil nil nil nil nil nil nil nil nil
)))))
609 (in-package #:cl-user
)
610 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
611 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
612 (setf (gethash 'fortran-to-lisp
::c1fgkb
613 fortran-to-lisp
::*f2cl-function-info
*)
614 (fortran-to-lisp::make-f2cl-finfo
615 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
616 (fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
617 (fortran-to-lisp::integer4
) (array double-float
(*))
618 (array double-float
(*)) (fortran-to-lisp::integer4
)
619 (array double-float
(*)) (array double-float
(*))
620 (fortran-to-lisp::integer4
) (array double-float
(*)))
621 :return-values
'(nil nil nil nil nil nil nil nil nil nil nil nil
)