/[cl-gsl]/cl-gsl/package.lisp
ViewVC logotype

Contents of /cl-gsl/package.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations)
Sat Apr 30 22:36:03 2005 UTC (8 years, 11 months ago) by edenny
Branch: MAIN
Changes since 1.9: +21 -0 lines
Added symbols to be exported from cl-array due to permutations.
1 ;;;; -*- Mode: Lisp; Synatx: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;;
3 ;;;; Copyright (C) 2005 Edgar Denny <edgardenny@comcast.net>
4 ;;;; This file is part of CL-GSL.
5 ;;;;
6 ;;;; This program is free software; you can redistribute it and/or modify
7 ;;;; it under the terms of the GNU General Public License as published by
8 ;;;; the Free Software Foundation; either version 2 of the License, or
9 ;;;; (at your option) any later version.
10 ;;;;
11 ;;;; This program is distributed in the hope that it will be useful,
12 ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;;; GNU General Public License for more details.
15 ;;;;
16 ;;;; You should have received a copy of the GNU General Public License
17 ;;;; along with this program; if not, write to the Free Software
18 ;;;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
20 (in-package #:cl-user)
21
22 (defpackage #:cl-gsl
23 (:nicknames #:gsl)
24 (:use #:cl)
25 (:export
26 #:load-library
27 #:gsl-config-lib-string
28 #:get-libs-list
29 #:load-the-libraries
30 #:t/nil->1/0
31 #:1/0->t/nil
32 #:string_->string-
33 #:+null-void-pointer+
34
35 #:min-light-travel-from-earth
36 #:defun-foreign
37 #:define-foreign-type
38 #:def-foreign-struct
39 #:gsl-complex->complex
40 #:gsl-complex-float->complex
41 #:with-lisp-vec->c-array
42 #:complex-packed-array->lisp-vec
43 #:with-complex-double-float->gsl-complex-ptr
44 #:with-complex-single-float->gsl-complex-float-ptr
45 #:c-array->lisp-vec
46 #:defconstant-export
47 #:register-constants
48 ))
49
50 (defpackage #:cl-gsl-const
51 (:nicknames #:gsl-const)
52 (:use #:cl #:cl-gsl)
53 (:export
54 ))
55
56 (defpackage #:cl-gsl-math
57 (:nicknames #:gsl-math)
58 (:use #:cl #:cl-gsl)
59 (:export
60 ))
61
62 (defpackage #:cl-gsl-poly
63 (:nicknames #:gsl-poly)
64 (:use #:cl #:cl-gsl)
65 (:export
66 #:poly-eval
67 #:solve-quadratic
68 #:solve-cubic
69 #:complex-solve-quadratic
70 #:complex-solve-cubic
71 #:complex-solve
72 #:dd-init
73 #:dd-eval
74 #:dd-taylor
75 ))
76
77 (defpackage #:cl-gsl-sf
78 (:nicknames #:gsl-sf)
79 (:use #:cl #:cl-gsl)
80 (:export
81 #:bessel-c-jn-array
82 #:bessel-c-yn-array
83 #:bessel-c-in-array
84 #:bessel-c-in-scaled-array
85 #:bessel-c-kn-array
86 #:bessel-c-kn-scaled-array
87 #:bessel-s-jl-array
88 #:bessel-s-yl-array
89 #:bessel-s-il-scaled-array
90 #:bessel-s-kl-scaled-array
91 #:gegenpoly-array
92 #:legendre-pl-array
93 #:legendre-hd3-array
94 ))
95
96 (defpackage #:cl-gsl-array
97 (:nicknames #:gsl-array)
98 (:use #:cl #:cl-gsl)
99 (:export
100
101 ;; from vector
102 #:size
103 #:element-type
104 #:ptr
105
106 #:free
107 #:make-vector
108 #:with-vector
109 #:get-element
110 #:set-element
111 #:set-all
112 #:set-zero
113 #:set-basis
114 #:write-to-binary-file
115 #:write-to-file
116 #:read-from-binary-file
117 #:read-from-file
118 #:subvector
119 #:subvector-with-stride
120 #:copy
121 #:with-vector-copy
122 #:swap
123 #:swap-elements
124 #:reverse-vector
125 #:add
126 #:sub
127 #:mul
128 #:div
129 #:scale
130 #:add-constant
131 #:max-value
132 #:min-value
133 #:max-index
134 #:min-index
135 #:min-max-indicies
136 #:min-max-values
137 #:isnull
138 #:gsl->lisp-vector
139
140 ;; from matrix
141 #:make-matrix
142 #:size-rows
143 #:size-cols
144 #:set-identity
145 #:mul-elements
146 #:div-elements
147 #:with-matrix
148 #:with-matrix-copy
149 #:gsl-matrix->lisp-array
150 #:get-row
151 #:with-matrix-row
152 #:get-col
153 #:with-matrix-col
154 #:set-row
155 #:set-col
156 #:swap-rows
157 #:swap-cols
158 #:swap-rowcol
159 #:transpose
160 #:copy-transpose
161 #:with-copy-transpose
162
163 ;; from permutation
164 #:permutation-init
165 #:valid
166 #:reverse-permutation
167 #:next
168 #:prev
169 #:inverse
170 #:with-permutation-inverse
171 #:permute-vector
172 #:permute-vector-inverse
173 #:make-permutation
174 #:with-permutation-copy
175 #:with-permutation-mul
176 #:linear->canonical
177 #:with-permutation-linear->canonical
178 #:canonical->linear
179 #:with-permutation-canonical->linear
180 #:inversions
181 #:linear-cycles
182 #:canonical-cycles
183 ))

  ViewVC Help
Powered by ViewVC 1.1.5