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 r1f2kb (ido l1 cc in1 ch in2 wa1
)
21 (declare (type (array double-float
(*)) 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 (prog ((ic 0) (i 0) (idp2 0) (k 0))
28 (declare (type (f2cl-lib:integer4
) k idp2 i ic
))
29 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
32 (setf (f2cl-lib:fref ch-%data%
34 ((1 in2
) (1 ido
) (1 l1
) (1 2))
37 (f2cl-lib:fref cc-%data%
39 ((1 in1
) (1 ido
) (1 2) (1 l1
))
41 (f2cl-lib:fref cc-%data%
43 ((1 in1
) (1 ido
) (1 2) (1 l1
))
45 (setf (f2cl-lib:fref ch-%data%
47 ((1 in2
) (1 ido
) (1 l1
) (1 2))
50 (f2cl-lib:fref cc-%data%
52 ((1 in1
) (1 ido
) (1 2) (1 l1
))
54 (f2cl-lib:fref cc-%data%
56 ((1 in1
) (1 ido
) (1 2) (1 l1
))
59 (f2cl-lib:arithmetic-if
(f2cl-lib:int-sub ido
2)
64 (setf idp2
(f2cl-lib:int-add ido
2))
65 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
68 (f2cl-lib:fdo
(i 3 (f2cl-lib:int-add i
2))
71 (setf ic
(f2cl-lib:int-sub idp2 i
))
72 (setf (f2cl-lib:fref ch-%data%
73 (1 (f2cl-lib:int-sub i
1) k
1)
74 ((1 in2
) (1 ido
) (1 l1
) (1 2))
77 (f2cl-lib:fref cc-%data%
78 (1 (f2cl-lib:int-sub i
1) 1 k
)
79 ((1 in1
) (1 ido
) (1 2) (1 l1
))
81 (f2cl-lib:fref cc-%data%
82 (1 (f2cl-lib:int-sub ic
1) 2 k
)
83 ((1 in1
) (1 ido
) (1 2) (1 l1
))
85 (setf (f2cl-lib:fref ch-%data%
87 ((1 in2
) (1 ido
) (1 l1
) (1 2))
90 (f2cl-lib:fref cc-%data%
92 ((1 in1
) (1 ido
) (1 2) (1 l1
))
94 (f2cl-lib:fref cc-%data%
96 ((1 in1
) (1 ido
) (1 2) (1 l1
))
98 (setf (f2cl-lib:fref ch-%data%
99 (1 (f2cl-lib:int-sub i
1) k
2)
100 ((1 in2
) (1 ido
) (1 l1
) (1 2))
104 (f2cl-lib:fref wa1-%data%
105 ((f2cl-lib:int-sub i
2))
109 (f2cl-lib:fref cc-%data%
110 (1 (f2cl-lib:int-sub i
1) 1 k
)
111 ((1 in1
) (1 ido
) (1 2) (1 l1
))
113 (f2cl-lib:fref cc-%data%
114 (1 (f2cl-lib:int-sub ic
1) 2 k
)
115 ((1 in1
) (1 ido
) (1 2) (1 l1
))
118 (f2cl-lib:fref wa1-%data%
119 ((f2cl-lib:int-sub i
1))
123 (f2cl-lib:fref cc-%data%
125 ((1 in1
) (1 ido
) (1 2) (1 l1
))
127 (f2cl-lib:fref cc-%data%
129 ((1 in1
) (1 ido
) (1 2) (1 l1
))
131 (setf (f2cl-lib:fref ch-%data%
133 ((1 in2
) (1 ido
) (1 l1
) (1 2))
137 (f2cl-lib:fref wa1-%data%
138 ((f2cl-lib:int-sub i
2))
142 (f2cl-lib:fref cc-%data%
144 ((1 in1
) (1 ido
) (1 2) (1 l1
))
146 (f2cl-lib:fref cc-%data%
148 ((1 in1
) (1 ido
) (1 2) (1 l1
))
151 (f2cl-lib:fref wa1-%data%
152 ((f2cl-lib:int-sub i
1))
156 (f2cl-lib:fref cc-%data%
157 (1 (f2cl-lib:int-sub i
1) 1 k
)
158 ((1 in1
) (1 ido
) (1 2) (1 l1
))
160 (f2cl-lib:fref cc-%data%
161 (1 (f2cl-lib:int-sub ic
1) 2 k
)
162 ((1 in1
) (1 ido
) (1 2) (1 l1
))
166 (if (= (mod ido
2) 1) (go end_label
))
168 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
171 (setf (f2cl-lib:fref ch-%data%
173 ((1 in2
) (1 ido
) (1 l1
) (1 2))
176 (f2cl-lib:fref cc-%data%
178 ((1 in1
) (1 ido
) (1 2) (1 l1
))
180 (f2cl-lib:fref cc-%data%
182 ((1 in1
) (1 ido
) (1 2) (1 l1
))
184 (setf (f2cl-lib:fref ch-%data%
186 ((1 in2
) (1 ido
) (1 l1
) (1 2))
190 (f2cl-lib:fref cc-%data%
192 ((1 in1
) (1 ido
) (1 2) (1 l1
))
194 (f2cl-lib:fref cc-%data%
196 ((1 in1
) (1 ido
) (1 2) (1 l1
))
202 (return (values nil nil nil nil nil nil nil
)))))
204 (in-package #:cl-user
)
205 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
206 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
207 (setf (gethash 'fortran-to-lisp
::r1f2kb
208 fortran-to-lisp
::*f2cl-function-info
*)
209 (fortran-to-lisp::make-f2cl-finfo
210 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
211 (array double-float
(*)) (fortran-to-lisp::integer4
)
212 (array double-float
(*)) (fortran-to-lisp::integer4
)
213 (array double-float
(*)))
214 :return-values
'(nil nil nil nil nil nil nil
)