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 r1f4kf (ido l1 cc in1 ch in2 wa1 wa2 wa3
)
21 (declare (type (array double-float
(*)) wa3 wa2 wa1 ch cc
)
22 (type (f2cl-lib:integer4
) in2 in1 l1 ido
))
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 (wa3 double-float wa3-%data% wa3-%offset%
))
29 (prog ((ic 0) (i 0) (idp2 0) (k 0) (hsqt2 0.0d0
))
30 (declare (type (double-float) hsqt2
)
31 (type (f2cl-lib:integer4
) k idp2 i ic
))
32 (setf hsqt2
(/ (f2cl-lib:fsqrt
2.0d0
) 2.0d0
))
33 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
36 (setf (f2cl-lib:fref ch-%data%
38 ((1 in2
) (1 ido
) (1 4) (1 l1
))
41 (f2cl-lib:fref cc-%data%
43 ((1 in1
) (1 ido
) (1 l1
) (1 4))
45 (f2cl-lib:fref cc-%data%
47 ((1 in1
) (1 ido
) (1 l1
) (1 4))
50 (f2cl-lib:fref cc-%data%
52 ((1 in1
) (1 ido
) (1 l1
) (1 4))
54 (f2cl-lib:fref cc-%data%
56 ((1 in1
) (1 ido
) (1 l1
) (1 4))
58 (setf (f2cl-lib:fref ch-%data%
60 ((1 in2
) (1 ido
) (1 4) (1 l1
))
64 (f2cl-lib:fref cc-%data%
66 ((1 in1
) (1 ido
) (1 l1
) (1 4))
68 (f2cl-lib:fref cc-%data%
70 ((1 in1
) (1 ido
) (1 l1
) (1 4))
73 (f2cl-lib:fref cc-%data%
75 ((1 in1
) (1 ido
) (1 l1
) (1 4))
77 (f2cl-lib:fref cc-%data%
79 ((1 in1
) (1 ido
) (1 l1
) (1 4))
81 (setf (f2cl-lib:fref ch-%data%
83 ((1 in2
) (1 ido
) (1 4) (1 l1
))
86 (f2cl-lib:fref cc-%data%
88 ((1 in1
) (1 ido
) (1 l1
) (1 4))
90 (f2cl-lib:fref cc-%data%
92 ((1 in1
) (1 ido
) (1 l1
) (1 4))
94 (setf (f2cl-lib:fref ch-%data%
96 ((1 in2
) (1 ido
) (1 4) (1 l1
))
99 (f2cl-lib:fref cc-%data%
101 ((1 in1
) (1 ido
) (1 l1
) (1 4))
103 (f2cl-lib:fref cc-%data%
105 ((1 in1
) (1 ido
) (1 l1
) (1 4))
108 (f2cl-lib:arithmetic-if
(f2cl-lib:int-sub ido
2)
113 (setf idp2
(f2cl-lib:int-add ido
2))
114 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
117 (f2cl-lib:fdo
(i 3 (f2cl-lib:int-add i
2))
120 (setf ic
(f2cl-lib:int-sub idp2 i
))
121 (setf (f2cl-lib:fref ch-%data%
122 (1 (f2cl-lib:int-sub i
1) 1 k
)
123 ((1 in2
) (1 ido
) (1 4) (1 l1
))
127 (f2cl-lib:fref wa1-%data%
128 ((f2cl-lib:int-sub i
2))
131 (f2cl-lib:fref cc-%data%
132 (1 (f2cl-lib:int-sub i
1) k
2)
133 ((1 in1
) (1 ido
) (1 l1
) (1 4))
136 (f2cl-lib:fref wa1-%data%
137 ((f2cl-lib:int-sub i
1))
140 (f2cl-lib:fref cc-%data%
142 ((1 in1
) (1 ido
) (1 l1
) (1 4))
146 (f2cl-lib:fref wa3-%data%
147 ((f2cl-lib:int-sub i
2))
150 (f2cl-lib:fref cc-%data%
151 (1 (f2cl-lib:int-sub i
1) k
4)
152 ((1 in1
) (1 ido
) (1 l1
) (1 4))
155 (f2cl-lib:fref wa3-%data%
156 ((f2cl-lib:int-sub i
1))
159 (f2cl-lib:fref cc-%data%
161 ((1 in1
) (1 ido
) (1 l1
) (1 4))
164 (f2cl-lib:fref cc-%data%
165 (1 (f2cl-lib:int-sub i
1) k
1)
166 ((1 in1
) (1 ido
) (1 l1
) (1 4))
170 (f2cl-lib:fref wa2-%data%
171 ((f2cl-lib:int-sub i
2))
174 (f2cl-lib:fref cc-%data%
175 (1 (f2cl-lib:int-sub i
1) k
3)
176 ((1 in1
) (1 ido
) (1 l1
) (1 4))
179 (f2cl-lib:fref wa2-%data%
180 ((f2cl-lib:int-sub i
1))
183 (f2cl-lib:fref cc-%data%
185 ((1 in1
) (1 ido
) (1 l1
) (1 4))
187 (setf (f2cl-lib:fref ch-%data%
188 (1 (f2cl-lib:int-sub ic
1) 4 k
)
189 ((1 in2
) (1 ido
) (1 4) (1 l1
))
193 (f2cl-lib:fref cc-%data%
194 (1 (f2cl-lib:int-sub i
1) k
1)
195 ((1 in1
) (1 ido
) (1 l1
) (1 4))
199 (f2cl-lib:fref wa2-%data%
200 ((f2cl-lib:int-sub i
2))
203 (f2cl-lib:fref cc-%data%
204 (1 (f2cl-lib:int-sub i
1) k
3)
205 ((1 in1
) (1 ido
) (1 l1
) (1 4))
208 (f2cl-lib:fref wa2-%data%
209 ((f2cl-lib:int-sub i
1))
212 (f2cl-lib:fref cc-%data%
214 ((1 in1
) (1 ido
) (1 l1
) (1 4))
218 (f2cl-lib:fref wa1-%data%
219 ((f2cl-lib:int-sub i
2))
222 (f2cl-lib:fref cc-%data%
223 (1 (f2cl-lib:int-sub i
1) k
2)
224 ((1 in1
) (1 ido
) (1 l1
) (1 4))
227 (f2cl-lib:fref wa1-%data%
228 ((f2cl-lib:int-sub i
1))
231 (f2cl-lib:fref cc-%data%
233 ((1 in1
) (1 ido
) (1 l1
) (1 4))
237 (f2cl-lib:fref wa3-%data%
238 ((f2cl-lib:int-sub i
2))
241 (f2cl-lib:fref cc-%data%
242 (1 (f2cl-lib:int-sub i
1) k
4)
243 ((1 in1
) (1 ido
) (1 l1
) (1 4))
246 (f2cl-lib:fref wa3-%data%
247 ((f2cl-lib:int-sub i
1))
250 (f2cl-lib:fref cc-%data%
252 ((1 in1
) (1 ido
) (1 l1
) (1 4))
254 (setf (f2cl-lib:fref ch-%data%
256 ((1 in2
) (1 ido
) (1 4) (1 l1
))
261 (f2cl-lib:fref wa1-%data%
262 ((f2cl-lib:int-sub i
2))
265 (f2cl-lib:fref cc-%data%
267 ((1 in1
) (1 ido
) (1 l1
) (1 4))
270 (f2cl-lib:fref wa1-%data%
271 ((f2cl-lib:int-sub i
1))
274 (f2cl-lib:fref cc-%data%
275 (1 (f2cl-lib:int-sub i
1) k
2)
276 ((1 in1
) (1 ido
) (1 l1
) (1 4))
280 (f2cl-lib:fref wa3-%data%
281 ((f2cl-lib:int-sub i
2))
284 (f2cl-lib:fref cc-%data%
286 ((1 in1
) (1 ido
) (1 l1
) (1 4))
289 (f2cl-lib:fref wa3-%data%
290 ((f2cl-lib:int-sub i
1))
293 (f2cl-lib:fref cc-%data%
294 (1 (f2cl-lib:int-sub i
1) k
4)
295 ((1 in1
) (1 ido
) (1 l1
) (1 4))
298 (f2cl-lib:fref cc-%data%
300 ((1 in1
) (1 ido
) (1 l1
) (1 4))
304 (f2cl-lib:fref wa2-%data%
305 ((f2cl-lib:int-sub i
2))
308 (f2cl-lib:fref cc-%data%
310 ((1 in1
) (1 ido
) (1 l1
) (1 4))
313 (f2cl-lib:fref wa2-%data%
314 ((f2cl-lib:int-sub i
1))
317 (f2cl-lib:fref cc-%data%
318 (1 (f2cl-lib:int-sub i
1) k
3)
319 ((1 in1
) (1 ido
) (1 l1
) (1 4))
321 (setf (f2cl-lib:fref ch-%data%
323 ((1 in2
) (1 ido
) (1 4) (1 l1
))
329 (f2cl-lib:fref wa1-%data%
330 ((f2cl-lib:int-sub i
2))
333 (f2cl-lib:fref cc-%data%
335 ((1 in1
) (1 ido
) (1 l1
) (1 4))
338 (f2cl-lib:fref wa1-%data%
339 ((f2cl-lib:int-sub i
1))
342 (f2cl-lib:fref cc-%data%
343 (1 (f2cl-lib:int-sub i
1) k
2)
344 ((1 in1
) (1 ido
) (1 l1
) (1 4))
348 (f2cl-lib:fref wa3-%data%
349 ((f2cl-lib:int-sub i
2))
352 (f2cl-lib:fref cc-%data%
354 ((1 in1
) (1 ido
) (1 l1
) (1 4))
357 (f2cl-lib:fref wa3-%data%
358 ((f2cl-lib:int-sub i
1))
361 (f2cl-lib:fref cc-%data%
362 (1 (f2cl-lib:int-sub i
1) k
4)
363 ((1 in1
) (1 ido
) (1 l1
) (1 4))
366 (f2cl-lib:fref cc-%data%
368 ((1 in1
) (1 ido
) (1 l1
) (1 4))
372 (f2cl-lib:fref wa2-%data%
373 ((f2cl-lib:int-sub i
2))
376 (f2cl-lib:fref cc-%data%
378 ((1 in1
) (1 ido
) (1 l1
) (1 4))
381 (f2cl-lib:fref wa2-%data%
382 ((f2cl-lib:int-sub i
1))
385 (f2cl-lib:fref cc-%data%
386 (1 (f2cl-lib:int-sub i
1) k
3)
387 ((1 in1
) (1 ido
) (1 l1
) (1 4))
389 (setf (f2cl-lib:fref ch-%data%
390 (1 (f2cl-lib:int-sub i
1) 3 k
)
391 ((1 in2
) (1 ido
) (1 4) (1 l1
))
396 (f2cl-lib:fref wa1-%data%
397 ((f2cl-lib:int-sub i
2))
400 (f2cl-lib:fref cc-%data%
402 ((1 in1
) (1 ido
) (1 l1
) (1 4))
405 (f2cl-lib:fref wa1-%data%
406 ((f2cl-lib:int-sub i
1))
409 (f2cl-lib:fref cc-%data%
410 (1 (f2cl-lib:int-sub i
1) k
2)
411 ((1 in1
) (1 ido
) (1 l1
) (1 4))
415 (f2cl-lib:fref wa3-%data%
416 ((f2cl-lib:int-sub i
2))
419 (f2cl-lib:fref cc-%data%
421 ((1 in1
) (1 ido
) (1 l1
) (1 4))
424 (f2cl-lib:fref wa3-%data%
425 ((f2cl-lib:int-sub i
1))
428 (f2cl-lib:fref cc-%data%
429 (1 (f2cl-lib:int-sub i
1) k
4)
430 ((1 in1
) (1 ido
) (1 l1
) (1 4))
433 (f2cl-lib:fref cc-%data%
434 (1 (f2cl-lib:int-sub i
1) k
1)
435 ((1 in1
) (1 ido
) (1 l1
) (1 4))
439 (f2cl-lib:fref wa2-%data%
440 ((f2cl-lib:int-sub i
2))
443 (f2cl-lib:fref cc-%data%
444 (1 (f2cl-lib:int-sub i
1) k
3)
445 ((1 in1
) (1 ido
) (1 l1
) (1 4))
448 (f2cl-lib:fref wa2-%data%
449 ((f2cl-lib:int-sub i
1))
452 (f2cl-lib:fref cc-%data%
454 ((1 in1
) (1 ido
) (1 l1
) (1 4))
456 (setf (f2cl-lib:fref ch-%data%
457 (1 (f2cl-lib:int-sub ic
1) 2 k
)
458 ((1 in2
) (1 ido
) (1 4) (1 l1
))
461 (f2cl-lib:fref cc-%data%
462 (1 (f2cl-lib:int-sub i
1) k
1)
463 ((1 in1
) (1 ido
) (1 l1
) (1 4))
467 (f2cl-lib:fref wa2-%data%
468 ((f2cl-lib:int-sub i
2))
471 (f2cl-lib:fref cc-%data%
472 (1 (f2cl-lib:int-sub i
1) k
3)
473 ((1 in1
) (1 ido
) (1 l1
) (1 4))
476 (f2cl-lib:fref wa2-%data%
477 ((f2cl-lib:int-sub i
1))
480 (f2cl-lib:fref cc-%data%
482 ((1 in1
) (1 ido
) (1 l1
) (1 4))
486 (f2cl-lib:fref wa1-%data%
487 ((f2cl-lib:int-sub i
2))
490 (f2cl-lib:fref cc-%data%
492 ((1 in1
) (1 ido
) (1 l1
) (1 4))
495 (f2cl-lib:fref wa1-%data%
496 ((f2cl-lib:int-sub i
1))
499 (f2cl-lib:fref cc-%data%
500 (1 (f2cl-lib:int-sub i
1) k
2)
501 ((1 in1
) (1 ido
) (1 l1
) (1 4))
505 (f2cl-lib:fref wa3-%data%
506 ((f2cl-lib:int-sub i
2))
509 (f2cl-lib:fref cc-%data%
511 ((1 in1
) (1 ido
) (1 l1
) (1 4))
514 (f2cl-lib:fref wa3-%data%
515 ((f2cl-lib:int-sub i
1))
518 (f2cl-lib:fref cc-%data%
519 (1 (f2cl-lib:int-sub i
1) k
4)
520 ((1 in1
) (1 ido
) (1 l1
) (1 4))
522 (setf (f2cl-lib:fref ch-%data%
524 ((1 in2
) (1 ido
) (1 4) (1 l1
))
530 (f2cl-lib:fref wa3-%data%
531 ((f2cl-lib:int-sub i
2))
534 (f2cl-lib:fref cc-%data%
535 (1 (f2cl-lib:int-sub i
1) k
4)
536 ((1 in1
) (1 ido
) (1 l1
) (1 4))
539 (f2cl-lib:fref wa3-%data%
540 ((f2cl-lib:int-sub i
1))
543 (f2cl-lib:fref cc-%data%
545 ((1 in1
) (1 ido
) (1 l1
) (1 4))
549 (f2cl-lib:fref wa1-%data%
550 ((f2cl-lib:int-sub i
2))
553 (f2cl-lib:fref cc-%data%
554 (1 (f2cl-lib:int-sub i
1) k
2)
555 ((1 in1
) (1 ido
) (1 l1
) (1 4))
558 (f2cl-lib:fref wa1-%data%
559 ((f2cl-lib:int-sub i
1))
562 (f2cl-lib:fref cc-%data%
564 ((1 in1
) (1 ido
) (1 l1
) (1 4))
567 (f2cl-lib:fref cc-%data%
569 ((1 in1
) (1 ido
) (1 l1
) (1 4))
573 (f2cl-lib:fref wa2-%data%
574 ((f2cl-lib:int-sub i
2))
577 (f2cl-lib:fref cc-%data%
579 ((1 in1
) (1 ido
) (1 l1
) (1 4))
582 (f2cl-lib:fref wa2-%data%
583 ((f2cl-lib:int-sub i
1))
586 (f2cl-lib:fref cc-%data%
587 (1 (f2cl-lib:int-sub i
1) k
3)
588 ((1 in1
) (1 ido
) (1 l1
) (1 4))
590 (setf (f2cl-lib:fref ch-%data%
592 ((1 in2
) (1 ido
) (1 4) (1 l1
))
597 (f2cl-lib:fref wa3-%data%
598 ((f2cl-lib:int-sub i
2))
601 (f2cl-lib:fref cc-%data%
602 (1 (f2cl-lib:int-sub i
1) k
4)
603 ((1 in1
) (1 ido
) (1 l1
) (1 4))
606 (f2cl-lib:fref wa3-%data%
607 ((f2cl-lib:int-sub i
1))
610 (f2cl-lib:fref cc-%data%
612 ((1 in1
) (1 ido
) (1 l1
) (1 4))
616 (f2cl-lib:fref wa1-%data%
617 ((f2cl-lib:int-sub i
2))
620 (f2cl-lib:fref cc-%data%
621 (1 (f2cl-lib:int-sub i
1) k
2)
622 ((1 in1
) (1 ido
) (1 l1
) (1 4))
625 (f2cl-lib:fref wa1-%data%
626 ((f2cl-lib:int-sub i
1))
629 (f2cl-lib:fref cc-%data%
631 ((1 in1
) (1 ido
) (1 l1
) (1 4))
634 (f2cl-lib:fref cc-%data%
636 ((1 in1
) (1 ido
) (1 l1
) (1 4))
640 (f2cl-lib:fref wa2-%data%
641 ((f2cl-lib:int-sub i
2))
644 (f2cl-lib:fref cc-%data%
646 ((1 in1
) (1 ido
) (1 l1
) (1 4))
649 (f2cl-lib:fref wa2-%data%
650 ((f2cl-lib:int-sub i
1))
653 (f2cl-lib:fref cc-%data%
654 (1 (f2cl-lib:int-sub i
1) k
3)
655 ((1 in1
) (1 ido
) (1 l1
) (1 4))
659 (if (= (mod ido
2) 1) (go end_label
))
661 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
664 (setf (f2cl-lib:fref ch-%data%
666 ((1 in2
) (1 ido
) (1 4) (1 l1
))
671 (f2cl-lib:fref cc-%data%
673 ((1 in1
) (1 ido
) (1 l1
) (1 4))
675 (f2cl-lib:fref cc-%data%
677 ((1 in1
) (1 ido
) (1 l1
) (1 4))
679 (f2cl-lib:fref cc-%data%
681 ((1 in1
) (1 ido
) (1 l1
) (1 4))
683 (setf (f2cl-lib:fref ch-%data%
685 ((1 in2
) (1 ido
) (1 4) (1 l1
))
688 (f2cl-lib:fref cc-%data%
690 ((1 in1
) (1 ido
) (1 l1
) (1 4))
694 (f2cl-lib:fref cc-%data%
696 ((1 in1
) (1 ido
) (1 l1
) (1 4))
698 (f2cl-lib:fref cc-%data%
700 ((1 in1
) (1 ido
) (1 l1
) (1 4))
702 (setf (f2cl-lib:fref ch-%data%
704 ((1 in2
) (1 ido
) (1 4) (1 l1
))
709 (f2cl-lib:fref cc-%data%
711 ((1 in1
) (1 ido
) (1 l1
) (1 4))
713 (f2cl-lib:fref cc-%data%
715 ((1 in1
) (1 ido
) (1 l1
) (1 4))
717 (f2cl-lib:fref cc-%data%
719 ((1 in1
) (1 ido
) (1 l1
) (1 4))
721 (setf (f2cl-lib:fref ch-%data%
723 ((1 in2
) (1 ido
) (1 4) (1 l1
))
728 (f2cl-lib:fref cc-%data%
730 ((1 in1
) (1 ido
) (1 l1
) (1 4))
732 (f2cl-lib:fref cc-%data%
734 ((1 in1
) (1 ido
) (1 l1
) (1 4))
736 (f2cl-lib:fref cc-%data%
738 ((1 in1
) (1 ido
) (1 l1
) (1 4))
744 (return (values nil nil nil nil nil nil nil nil nil
)))))
746 (in-package #:cl-user
)
747 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
748 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
749 (setf (gethash 'fortran-to-lisp
::r1f4kf
750 fortran-to-lisp
::*f2cl-function-info
*)
751 (fortran-to-lisp::make-f2cl-finfo
752 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
753 (array double-float
(*)) (fortran-to-lisp::integer4
)
754 (array double-float
(*)) (fortran-to-lisp::integer4
)
755 (array double-float
(*)) (array double-float
(*))
756 (array double-float
(*)))
757 :return-values
'(nil nil nil nil nil nil nil nil nil
)