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 double-float))
17 (in-package "HOMPACK")
20 (defun qimuds (q f maxa nn lenaa
)
21 (declare (type (f2cl-lib:integer4
) lenaa nn
)
22 (type (array f2cl-lib
:integer4
(*)) maxa
)
23 (type (array double-float
(*)) f q
))
24 (f2cl-lib:with-multi-array-data
25 ((q double-float q-%data% q-%offset%
)
26 (f double-float f-%data% f-%offset%
)
27 (maxa f2cl-lib
:integer4 maxa-%data% maxa-%offset%
))
28 (prog ((lenq 0) (nq 0))
29 (declare (type (f2cl-lib:integer4
) nq lenq
))
30 (setf nq
(f2cl-lib:int-add nn
1))
33 (f2cl-lib:fref maxa-%data%
34 ((f2cl-lib:int-add nn
2))
35 ((1 (f2cl-lib:int-add nn
2)))
38 (solvds nq q lenq maxa f
)
41 (return (values nil nil nil nil nil
)))))
43 (in-package #:cl-user
)
44 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
45 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
46 (setf (gethash 'fortran-to-lisp
::qimuds
47 fortran-to-lisp
::*f2cl-function-info
*)
48 (fortran-to-lisp::make-f2cl-finfo
49 :arg-types
'((array double-float
(*)) (array double-float
(*))
50 (array fortran-to-lisp
::integer4
(*))
51 (fortran-to-lisp::integer4
)
52 (fortran-to-lisp::integer4
))
53 :return-values
'(nil nil nil nil nil
)
54 :calls
'(fortran-to-lisp::solvds
))))