In documentation for lreduce and rreduce, supply second argument as an explicit list
[maxima.git] / share / odepack / src / dsetpk.lisp
blob51448b4e8bd64d17aac1483cb72b6df3a9e3a33a
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-2013-11 (20E Unicode)
11 ;;;
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 "ODEPACK")
20 (defun dsetpk (neq y ysv ewt ftem savf jok wm iwm f jac)
21 (declare (type (f2cl-lib:integer4) jok)
22 (type (array double-float (*)) wm savf ftem ewt ysv y)
23 (type (array f2cl-lib:integer4 (*)) iwm neq))
24 (let ()
25 (symbol-macrolet ((el0 (aref (dls001-part-0 *dls001-common-block*) 210))
26 (h (aref (dls001-part-0 *dls001-common-block*) 211))
27 (tn (aref (dls001-part-0 *dls001-common-block*) 216))
28 (ierpj (aref (dls001-part-1 *dls001-common-block*) 13))
29 (jcur (aref (dls001-part-1 *dls001-common-block*) 15))
30 (nje (aref (dls001-part-1 *dls001-common-block*) 35))
31 (locwp (aref (dlpk01-part-1 *dlpk01-common-block*) 2))
32 (lociwp (aref (dlpk01-part-1 *dlpk01-common-block*) 3)))
33 (f2cl-lib:with-multi-array-data
34 ((neq f2cl-lib:integer4 neq-%data% neq-%offset%)
35 (iwm f2cl-lib:integer4 iwm-%data% iwm-%offset%)
36 (y double-float y-%data% y-%offset%)
37 (ysv double-float ysv-%data% ysv-%offset%)
38 (ewt double-float ewt-%data% ewt-%offset%)
39 (ftem double-float ftem-%data% ftem-%offset%)
40 (savf double-float savf-%data% savf-%offset%)
41 (wm double-float wm-%data% wm-%offset%))
42 (prog ((ier 0) (hl0 0.0d0))
43 (declare (type (double-float) hl0) (type (f2cl-lib:integer4) ier))
44 (setf ierpj 0)
45 (setf jcur 0)
46 (if (= jok -1) (setf jcur 1))
47 (setf hl0 (* el0 h))
48 (multiple-value-bind
49 (var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7 var-8 var-9
50 var-10 var-11 var-12)
51 (funcall jac
53 neq
56 ysv
57 ewt
58 savf
59 ftem
60 hl0
61 jok
62 (f2cl-lib:array-slice wm-%data%
63 double-float
64 (locwp)
65 ((1 *))
66 wm-%offset%)
67 (f2cl-lib:array-slice iwm-%data%
68 f2cl-lib:integer4
69 (lociwp)
70 ((1 *))
71 iwm-%offset%)
72 ier)
73 (declare (ignore var-0 var-1 var-3 var-4 var-5 var-6 var-7 var-10
74 var-11))
75 (when var-2
76 (setf tn var-2))
77 (when var-8
78 (setf hl0 var-8))
79 (when var-9
80 (setf jok var-9))
81 (when var-12
82 (setf ier var-12)))
83 (setf nje (f2cl-lib:int-add nje 1))
84 (if (= ier 0) (go end_label))
85 (setf ierpj 1)
86 (go end_label)
87 end_label
88 (return (values nil nil nil nil nil nil jok nil nil nil nil)))))))
90 (in-package #:cl-user)
91 #+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))
92 (eval-when (:load-toplevel :compile-toplevel :execute)
93 (setf (gethash 'fortran-to-lisp::dsetpk
94 fortran-to-lisp::*f2cl-function-info*)
95 (fortran-to-lisp::make-f2cl-finfo
96 :arg-types '((array fortran-to-lisp::integer4 (*))
97 (array double-float (*)) (array double-float (*))
98 (array double-float (*)) (array double-float (*))
99 (array double-float (*)) (fortran-to-lisp::integer4)
100 (array double-float (*))
101 (array fortran-to-lisp::integer4 (*)) t t)
102 :return-values '(nil nil nil nil nil nil fortran-to-lisp::jok nil
103 nil nil nil)
104 :calls 'nil)))