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 c1f2kf (ido l1 na cc in1 ch in2 wa
)
21 (declare (type (array double-float
(*)) wa ch cc
)
22 (type (f2cl-lib:integer4
) in2 in1 na 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 (wa double-float wa-%data% wa-%offset%
))
27 (prog ((ti2 0.0d0
) (tr2 0.0d0
) (i 0) (chold2 0.0d0
) (chold1 0.0d0
) (k 0)
29 (declare (type (f2cl-lib:integer4
) k i
)
30 (type (double-float) sn chold1 chold2 tr2 ti2
))
31 (if (> ido
1) (go label102
))
32 (setf sn
(/ 1.0d0
(f2cl-lib:freal
(f2cl-lib:int-mul
2 l1
))))
33 (if (= na
1) (go label106
))
34 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
40 (f2cl-lib:fref cc-%data%
42 ((1 in1
) (1 l1
) (1 ido
) (1 2))
44 (f2cl-lib:fref cc-%data%
46 ((1 in1
) (1 l1
) (1 ido
) (1 2))
48 (setf (f2cl-lib:fref cc-%data%
50 ((1 in1
) (1 l1
) (1 ido
) (1 2))
54 (f2cl-lib:fref cc-%data%
56 ((1 in1
) (1 l1
) (1 ido
) (1 2))
58 (f2cl-lib:fref cc-%data%
60 ((1 in1
) (1 l1
) (1 ido
) (1 2))
62 (setf (f2cl-lib:fref cc-%data%
64 ((1 in1
) (1 l1
) (1 ido
) (1 2))
70 (f2cl-lib:fref cc-%data%
72 ((1 in1
) (1 l1
) (1 ido
) (1 2))
74 (f2cl-lib:fref cc-%data%
76 ((1 in1
) (1 l1
) (1 ido
) (1 2))
78 (setf (f2cl-lib:fref cc-%data%
80 ((1 in1
) (1 l1
) (1 ido
) (1 2))
84 (f2cl-lib:fref cc-%data%
86 ((1 in1
) (1 l1
) (1 ido
) (1 2))
88 (f2cl-lib:fref cc-%data%
90 ((1 in1
) (1 l1
) (1 ido
) (1 2))
92 (setf (f2cl-lib:fref cc-%data%
94 ((1 in1
) (1 l1
) (1 ido
) (1 2))
100 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
103 (setf (f2cl-lib:fref ch-%data%
105 ((1 in2
) (1 l1
) (1 2) (1 ido
))
109 (f2cl-lib:fref cc-%data%
111 ((1 in1
) (1 l1
) (1 ido
) (1 2))
113 (f2cl-lib:fref cc-%data%
115 ((1 in1
) (1 l1
) (1 ido
) (1 2))
117 (setf (f2cl-lib:fref ch-%data%
119 ((1 in2
) (1 l1
) (1 2) (1 ido
))
123 (f2cl-lib:fref cc-%data%
125 ((1 in1
) (1 l1
) (1 ido
) (1 2))
127 (f2cl-lib:fref cc-%data%
129 ((1 in1
) (1 l1
) (1 ido
) (1 2))
131 (setf (f2cl-lib:fref ch-%data%
133 ((1 in2
) (1 l1
) (1 2) (1 ido
))
137 (f2cl-lib:fref cc-%data%
139 ((1 in1
) (1 l1
) (1 ido
) (1 2))
141 (f2cl-lib:fref cc-%data%
143 ((1 in1
) (1 l1
) (1 ido
) (1 2))
145 (setf (f2cl-lib:fref ch-%data%
147 ((1 in2
) (1 l1
) (1 2) (1 ido
))
151 (f2cl-lib:fref cc-%data%
153 ((1 in1
) (1 l1
) (1 ido
) (1 2))
155 (f2cl-lib:fref cc-%data%
157 ((1 in1
) (1 l1
) (1 ido
) (1 2))
162 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
165 (setf (f2cl-lib:fref ch-%data%
167 ((1 in2
) (1 l1
) (1 2) (1 ido
))
170 (f2cl-lib:fref cc-%data%
172 ((1 in1
) (1 l1
) (1 ido
) (1 2))
174 (f2cl-lib:fref cc-%data%
176 ((1 in1
) (1 l1
) (1 ido
) (1 2))
178 (setf (f2cl-lib:fref ch-%data%
180 ((1 in2
) (1 l1
) (1 2) (1 ido
))
183 (f2cl-lib:fref cc-%data%
185 ((1 in1
) (1 l1
) (1 ido
) (1 2))
187 (f2cl-lib:fref cc-%data%
189 ((1 in1
) (1 l1
) (1 ido
) (1 2))
191 (setf (f2cl-lib:fref ch-%data%
193 ((1 in2
) (1 l1
) (1 2) (1 ido
))
196 (f2cl-lib:fref cc-%data%
198 ((1 in1
) (1 l1
) (1 ido
) (1 2))
200 (f2cl-lib:fref cc-%data%
202 ((1 in1
) (1 l1
) (1 ido
) (1 2))
204 (setf (f2cl-lib:fref ch-%data%
206 ((1 in2
) (1 l1
) (1 2) (1 ido
))
209 (f2cl-lib:fref cc-%data%
211 ((1 in1
) (1 l1
) (1 ido
) (1 2))
213 (f2cl-lib:fref cc-%data%
215 ((1 in1
) (1 l1
) (1 ido
) (1 2))
218 (f2cl-lib:fdo
(i 2 (f2cl-lib:int-add i
1))
221 (f2cl-lib:fdo
(k 1 (f2cl-lib:int-add k
1))
224 (setf (f2cl-lib:fref ch-%data%
226 ((1 in2
) (1 l1
) (1 2) (1 ido
))
229 (f2cl-lib:fref cc-%data%
231 ((1 in1
) (1 l1
) (1 ido
) (1 2))
233 (f2cl-lib:fref cc-%data%
235 ((1 in1
) (1 l1
) (1 ido
) (1 2))
239 (f2cl-lib:fref cc-%data%
241 ((1 in1
) (1 l1
) (1 ido
) (1 2))
243 (f2cl-lib:fref cc-%data%
245 ((1 in1
) (1 l1
) (1 ido
) (1 2))
247 (setf (f2cl-lib:fref ch-%data%
249 ((1 in2
) (1 l1
) (1 2) (1 ido
))
252 (f2cl-lib:fref cc-%data%
254 ((1 in1
) (1 l1
) (1 ido
) (1 2))
256 (f2cl-lib:fref cc-%data%
258 ((1 in1
) (1 l1
) (1 ido
) (1 2))
262 (f2cl-lib:fref cc-%data%
264 ((1 in1
) (1 l1
) (1 ido
) (1 2))
266 (f2cl-lib:fref cc-%data%
268 ((1 in1
) (1 l1
) (1 ido
) (1 2))
270 (setf (f2cl-lib:fref ch-%data%
272 ((1 in2
) (1 l1
) (1 2) (1 ido
))
276 (f2cl-lib:fref wa-%data%
278 ((1 ido
) (1 1) (1 2))
282 (f2cl-lib:fref wa-%data%
284 ((1 ido
) (1 1) (1 2))
287 (setf (f2cl-lib:fref ch-%data%
289 ((1 in2
) (1 l1
) (1 2) (1 ido
))
293 (f2cl-lib:fref wa-%data%
295 ((1 ido
) (1 1) (1 2))
299 (f2cl-lib:fref wa-%data%
301 ((1 ido
) (1 1) (1 2))
308 (return (values nil nil nil nil nil nil nil nil
)))))
310 (in-package #:cl-user
)
311 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
312 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
313 (setf (gethash 'fortran-to-lisp
::c1f2kf
314 fortran-to-lisp
::*f2cl-function-info
*)
315 (fortran-to-lisp::make-f2cl-finfo
316 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
317 (fortran-to-lisp::integer4
) (array double-float
(*))
318 (fortran-to-lisp::integer4
) (array double-float
(*))
319 (fortran-to-lisp::integer4
) (array double-float
(*)))
320 :return-values
'(nil nil nil nil nil nil nil nil
)