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 c1fm1b (n inc c ch wa fnf fac
)
21 (declare (type (double-float) fnf
)
22 (type (array double-float
(*)) fac wa ch
)
23 (type (array f2cl-lib
:complex16
(*)) c
)
24 (type (f2cl-lib:integer4
) inc n
))
25 (f2cl-lib:with-multi-array-data
26 ((c f2cl-lib
:complex16 c-%data% c-%offset%
)
27 (ch double-float ch-%data% ch-%offset%
)
28 (wa double-float wa-%data% wa-%offset%
)
29 (fac double-float fac-%data% fac-%offset%
))
30 (prog ((nbr 0) (lid 0) (ido 0) (l2 0) (ip 0) (k1 0) (iw 0) (l1 0) (na 0)
32 (declare (type (f2cl-lib:integer4
) inc2 nf na l1 iw k1 ip l2 ido lid
34 (setf inc2
(f2cl-lib:int-add inc inc
))
35 (setf nf
(f2cl-lib:int fnf
))
39 (f2cl-lib:fdo
(k1 1 (f2cl-lib:int-add k1
1))
44 (f2cl-lib:fref fac-%data%
(k1) ((1 *)) fac-%offset%
)))
45 (setf l2
(f2cl-lib:int-mul ip l1
))
46 (setf ido
(the f2cl-lib
:integer4
(truncate n l2
)))
47 (setf lid
(f2cl-lib:int-mul l1 ido
))
53 (the f2cl-lib
:integer4
57 (the f2cl-lib
:integer4
59 (f2cl-lib:computed-goto
60 (label52 label62 label53 label63 label54 label64 label55 label65
65 (f2cl-lib:make-compatible-seq
(array double-float
(*))
67 (array f2cl-lib
:complex16
(*)))))
68 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
69 (c1f2kb ido l1 na %copy-c inc2 ch
2
70 (f2cl-lib:array-slice wa-%data%
75 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
79 (f2cl-lib:make-compatible-seq
(array double-float
(*))
81 (array f2cl-lib
:complex16
(*)))))
82 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
83 (c1f2kb ido l1 na ch
2 %copy-c inc2
84 (f2cl-lib:array-slice wa-%data%
89 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
93 (f2cl-lib:make-compatible-seq
(array double-float
(*))
95 (array f2cl-lib
:complex16
(*)))))
96 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
97 (c1f3kb ido l1 na %copy-c inc2 ch
2
98 (f2cl-lib:array-slice wa-%data%
103 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
107 (f2cl-lib:make-compatible-seq
(array double-float
(*))
109 (array f2cl-lib
:complex16
(*)))))
110 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
111 (c1f3kb ido l1 na ch
2 %copy-c inc2
112 (f2cl-lib:array-slice wa-%data%
117 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
121 (f2cl-lib:make-compatible-seq
(array double-float
(*))
123 (array f2cl-lib
:complex16
(*)))))
124 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
125 (c1f4kb ido l1 na %copy-c inc2 ch
2
126 (f2cl-lib:array-slice wa-%data%
131 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
135 (f2cl-lib:make-compatible-seq
(array double-float
(*))
137 (array f2cl-lib
:complex16
(*)))))
138 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
139 (c1f4kb ido l1 na ch
2 %copy-c inc2
140 (f2cl-lib:array-slice wa-%data%
145 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
149 (f2cl-lib:make-compatible-seq
(array double-float
(*))
151 (array f2cl-lib
:complex16
(*)))))
152 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
153 (c1f5kb ido l1 na %copy-c inc2 ch
2
154 (f2cl-lib:array-slice wa-%data%
159 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
163 (f2cl-lib:make-compatible-seq
(array double-float
(*))
165 (array f2cl-lib
:complex16
(*)))))
166 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
167 (c1f5kb ido l1 na ch
2 %copy-c inc2
168 (f2cl-lib:array-slice wa-%data%
173 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
177 (f2cl-lib:make-compatible-seq
(array double-float
(*))
179 (array f2cl-lib
:complex16
(*)))))
180 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
181 (c1fgkb ido ip l1 lid na %copy-c %copy-c inc2 ch ch
2
182 (f2cl-lib:array-slice wa-%data%
187 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
191 (f2cl-lib:make-compatible-seq
(array double-float
(*))
193 (array f2cl-lib
:complex16
(*)))))
194 (f2cl-lib:f2cl-copy-seq %copy-c c double-float f2cl-lib
:complex16
)
195 (c1fgkb ido ip l1 lid na ch ch
2 %copy-c %copy-c inc2
196 (f2cl-lib:array-slice wa-%data%
201 (f2cl-lib:f2cl-copy-seq c %copy-c f2cl-lib
:complex16 double-float
))
206 (f2cl-lib:int-mul
(f2cl-lib:int-sub ip
1)
207 (f2cl-lib:int-add ido
209 (if (<= ip
5) (setf na
(f2cl-lib:int-sub
1 na
)))
213 (return (values nil nil nil nil nil nil nil
)))))
215 (in-package #:cl-user
)
216 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
217 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
218 (setf (gethash 'fortran-to-lisp
::c1fm1b
219 fortran-to-lisp
::*f2cl-function-info
*)
220 (fortran-to-lisp::make-f2cl-finfo
221 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
222 (array fortran-to-lisp
::complex16
(*))
223 (array double-float
(*)) (array double-float
(*))
224 (double-float) (array double-float
(*)))
225 :return-values
'(nil nil nil nil nil nil nil
)
226 :calls
'(fortran-to-lisp::c1fgkb fortran-to-lisp
::c1f5kb
227 fortran-to-lisp
::c1f4kb fortran-to-lisp
::c1f3kb
228 fortran-to-lisp
::c1f2kb
))))