~ubuntu-branches/debian/squeeze/maxima/squeeze

« back to all changes in this revision

Viewing changes to src/numerical/slatec/j4save.lisp

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2006-10-18 14:52:42 UTC
  • mto: (1.1.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061018145242-vzyrm5hmxr8kiosf
ImportĀ upstreamĀ versionĀ 5.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
;;; Compiled by f2cl version 2.0 beta 2002-05-06
 
1
;;; Compiled by f2cl version 2.0 beta Date: 2006/01/31 15:11:05 
 
2
;;; Using Lisp CMU Common Lisp Snapshot 2006-01 (19C)
2
3
;;; 
3
4
;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
4
5
;;;           (:coerce-assigns :as-needed) (:array-type ':simple-array)
5
6
;;;           (:array-slicing nil) (:declare-common nil)
6
7
;;;           (:float-format double-float))
7
8
 
8
 
(in-package "SLATEC")
9
 
 
10
 
 
11
 
(let ((iparam (make-array 9 :element-type 'f2cl-lib:integer4)))
 
9
(in-package :slatec)
 
10
 
 
11
 
 
12
(let ((iparam
 
13
       (make-array 9
 
14
                   :element-type 'f2cl-lib:integer4
 
15
                   :initial-contents '(0 2 0 10 1 0 0 0 0))))
12
16
  (declare (type (simple-array f2cl-lib:integer4 (9)) iparam))
13
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (1) ((1 9))) 0)
14
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (2) ((1 9))) 2)
15
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (3) ((1 9))) 0)
16
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (4) ((1 9))) 10)
17
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (5) ((1 9))) 1)
18
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (6) ((1 9))) 0)
19
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (7) ((1 9))) 0)
20
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (8) ((1 9))) 0)
21
 
  (f2cl-lib:fset (f2cl-lib:fref iparam (9) ((1 9))) 0)
22
17
  (defun j4save (iwhich ivalue iset)
23
18
    (declare (type f2cl-lib:logical iset)
24
19
             (type f2cl-lib:integer4 ivalue iwhich))