In documentation for lreduce and rreduce, supply second argument as an explicit list
[maxima.git] / share / odepack / src / dewset.lisp
blob16c6b1bc1dad2cf1ff62cb1435fcc0ab5b4097ac
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-2017-01 (21B Unicode)
11 ;;;
12 ;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
13 ;;; (:coerce-assigns :as-needed) (:array-type ':simple-array)
14 ;;; (:array-slicing t) (:declare-common nil)
15 ;;; (:float-format double-float))
17 (in-package "ODEPACK")
20 (defun dewset (n itol rtol atol ycur ewt)
21 (declare (type (array double-float (*)) ewt ycur atol rtol)
22 (type (f2cl-lib:integer4) itol n))
23 (prog ((i 0))
24 (declare (type (f2cl-lib:integer4) i))
25 (f2cl-lib:computed-goto (label10 label20 label30 label40) itol)
26 label10
27 (f2cl-lib:fdo (i 1 (f2cl-lib:int-add i 1))
28 ((> i n) nil)
29 (tagbody
30 label15
31 (setf (f2cl-lib:fref ewt (i) ((1 n)))
33 (* (f2cl-lib:fref rtol (1) ((1 *)))
34 (abs (f2cl-lib:fref ycur (i) ((1 n)))))
35 (f2cl-lib:fref atol (1) ((1 *)))))))
36 (go end_label)
37 label20
38 (f2cl-lib:fdo (i 1 (f2cl-lib:int-add i 1))
39 ((> i n) nil)
40 (tagbody
41 label25
42 (setf (f2cl-lib:fref ewt (i) ((1 n)))
44 (* (f2cl-lib:fref rtol (1) ((1 *)))
45 (abs (f2cl-lib:fref ycur (i) ((1 n)))))
46 (f2cl-lib:fref atol (i) ((1 *)))))))
47 (go end_label)
48 label30
49 (f2cl-lib:fdo (i 1 (f2cl-lib:int-add i 1))
50 ((> i n) nil)
51 (tagbody
52 label35
53 (setf (f2cl-lib:fref ewt (i) ((1 n)))
55 (* (f2cl-lib:fref rtol (i) ((1 *)))
56 (abs (f2cl-lib:fref ycur (i) ((1 n)))))
57 (f2cl-lib:fref atol (1) ((1 *)))))))
58 (go end_label)
59 label40
60 (f2cl-lib:fdo (i 1 (f2cl-lib:int-add i 1))
61 ((> i n) nil)
62 (tagbody
63 label45
64 (setf (f2cl-lib:fref ewt (i) ((1 n)))
66 (* (f2cl-lib:fref rtol (i) ((1 *)))
67 (abs (f2cl-lib:fref ycur (i) ((1 n)))))
68 (f2cl-lib:fref atol (i) ((1 *)))))))
69 (go end_label)
70 end_label
71 (return (values nil nil nil nil nil nil))))
73 (in-package #:cl-user)
74 #+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))
75 (eval-when (:load-toplevel :compile-toplevel :execute)
76 (setf (gethash 'fortran-to-lisp::dewset
77 fortran-to-lisp::*f2cl-function-info*)
78 (fortran-to-lisp::make-f2cl-finfo
79 :arg-types '((fortran-to-lisp::integer4) (fortran-to-lisp::integer4)
80 (array double-float (*)) (array double-float (*))
81 (array double-float (*)) (array double-float (*)))
82 :return-values '(nil nil nil nil nil nil)
83 :calls 'nil)))