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