- Jan 10, 2011
-
-
Liam M. Healy authored
With the export of unit and dimension names, there are conflicts with gsl:psi, gsl:acceleration, gsl:knots. There is no actual conflict in the usage because Antik physical quantities only needs to use these symbols as symbols, there is no binding. So they are now shadowing-imported into gsll. Added explicit "d0" to numbers in polynomial to insure they are read as double-floats.
-
- Jul 07, 2010
-
-
Liam M. Healy authored
Do not use cl-array in tests because it isn't always available. The safer way is by doing a copy out to a new CL array.
-
Liam Healy authored
The generic function #'copy now needs a keyword argument for the destination :grid-type. Eliminate unnecessary copy tests; these are better tested in grid as they didn't use any GSL functions.
-
- Jun 30, 2010
-
-
Liam Healy authored
-
Liam Healy authored
All of GSLL now compiles using foreign-array; only the copy functions have been commented out.
-
- Jun 27, 2010
-
-
Liam Healy authored
Package renamed to :grid from :c-array, function renamed to 'foreign-pointer from 'c-pointer. Eliminate reference to native. Port make-marray-or-default to foreign-array.
-
- Dec 27, 2009
-
-
Liam Healy authored
Add copyright and license information to each file, include a copy of the GPL under documentation/COPYING.
-
- Dec 08, 2009
-
-
Liam Healy authored
Eventually, the definitions used for dealing with types and foreign arrays that aren't specific to GSL will be split off into another system, so that it will be easier to build other foreign library interfaces using these definitions. As a start, the grid/ directory defines a package 'c-array and some of the type definitions formerly in init/. Everything compiles and tests as before, on SBCL TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
-
- May 25, 2009
-
-
Liam Healy authored
Use #'size instead of #'total-size for marrays.
-
- May 03, 2009
-
-
Liam Healy authored
All source code is now conditionalized so that FSBV is optional. If present, functions using complex scalars will work. If absent, GSLL will compile and load correctly, and all functions except those using complex scalars will work. The examples and tests are defined appropriately. Documentation on FSBV dependence has been added to index.html.
-
Liam Healy authored
With improved fsbv:foreign-funcall that does the conversion of values between Lisp and C, the function foreign-funcall-indirect has been eliminated in favor of using fsbv:foreign-funcall directly. Spot checks on various functions that use complex scalars like #'evaluate polynomials at a complex point, or set-all on complex marrays, or the functions in complex.lisp, show that these all work. Everything compiles/loads and the usual tests pass in SBCL.
-
- Apr 30, 2009
-
-
Liam Healy authored
The BLAS matrix-product functions now work on complex arrays using FSBV, but there are no tests yet. New tests vector-set-all and matrix-set-all replace set-all tests with addition, and work for all types including complex using FSBV. Default optional argument marrays are initialized to 0. Polynomial evaluation with complex argument uncommented, but not yet working.
-
- Apr 28, 2009
-
-
Liam Healy authored
Also cdot, solve-quadratic-complex, solve-cubic-complex generate complex scalars in the argument returned by reference.
-
- Apr 27, 2009
-
-
Liam Healy authored
Variables called using with-foreign-objects that are passed to GSL for the purposes of returning computed values (i.e., are not mentioned in the CL arglist) need to be declared (:pointer type) because they are calls by reference. Everything now compiles though there are execution errors in the tests.
-
- Apr 03, 2009
-
-
Liam Healy authored
Change the order of arguments to #'divided-difference and #'taylor-divided-difference in order to make 'dd in the first case and 'coefficients and 'workspace in the second case optional arguments. Added all the tests from gsl-1.11/poly/test.c; results agree with the values stated there. Complete test results: SBCL64: TOTAL: 1483 assertions passed, 5 failed, 0 execution errors. CCL64: TOTAL: 1486 assertions passed, 2 failed, 0 execution errors.
-
- Feb 01, 2009
-
-
Liam Healy authored
Polynomial evaluation is now done with a method of #'evaluate. We can't do complex evaluation because the return value would be complex, and there is no way to handle that in CFFI yet. Evaluation with divided differences is a keyword switched part of the same method; it works but gives an puzzling style warning in SBCL about the keyword. The use of an marray in an optional/key argument necessitated a change to defmfun that redefined #'body-expand from #'body-no-optional-arg, made #'body-no-optional-arg a new function that wraps necessary array-handling forms around the expanded unswitched body form from body-expand.
-
- Dec 31, 2008
-
-
Liam Healy authored
The function #'polynomial-solve is now directly defined with defmfun with a single required argument and two optional arguments: the answer vector-complex-double-float and the workspace, both of which default to the right thing. The returned is now the this marray instead of a list. Simplify the definition of #'invert-matrix and return the matrix-double-float instead of the CL array. All tests pass SBCL and CCL with trace.
-
Liam Healy authored
More :inputs and :outputs specified. CCL now passes all 1208 tests if certain functions are traced (bug in CCL?) (trace polynomial-eval-divided-difference swap-elements permutation-reverse lu-invert permutation-next)
-
- Dec 27, 2008
-
-
Liam Healy authored
In defmobject, set the mpointer value if #'allocate is being called. For each file that defines a defmobject, I put a comment at the top showing the relevant GSL header file. For generators and quasi, the (re)initializing function returns void and not an :int, so that is changed in the defmobject definition, which now permits a list of two elements in initialize-suffix, with the second element indicating the :c-return.
-
- Dec 26, 2008
-
-
Liam Healy authored
GSL functions that take GSL objects as arguments must have #'mpointer called on each argument. Created a generic function #'name and changed all the *-name (or name-*) functions that acted on mobjects to this function.
-
Liam Healy authored
All GSL objects are full CL objects with garbage collection. There is no need to manually free the associated memory. All objects may be assigned in the normal CL way, e.g. let, so there is not #'letm macro anymore. Everything compiles cleanly in gsll, but nothing has been tested.
-
Liam Healy authored
New class foreign-array represents foreign (C) arrays, without GSL or mobject superclass. New class name 'marray was 'gsl-data, representing arrays in GSL. These objects are made by #'make-marray, formerely #'make-array*. New file names: init/mobject.lisp was init/gsl-objects.lisp and data/marray.lisp was data/data.lisp.
-
- Dec 25, 2008
-
-
Liam Healy authored
Defined make-load-form method for data. For histogram and random number generators, old code has been removed. Nothing has been compiled.
-
- Dec 07, 2008
-
-
Liam Healy authored
Instead of making the ffa in make-array*, we now make it in the initialize-instance :after method for gsl-data. This means that subclasses (permutations, combinations) will automatically make the arrays. Rewrote make-array* so that it is just a wrapper for make-instance, computing the dimensions from the specified initial parameters. Permutations and combinations are now made with make-* functions.
-
- Dec 01, 2008
-
-
Liam Healy authored
GSL arrays are garbage-collected objects, and so can be made like any other lisp object; they do not need to be make inside a wrapper form. #m is a macro which makes them; it expands to a #'make-array* call. Examples and usage ported to this new form. Compiled only; not tested yet. No effort to port to non-native implementation yet; tests as expanded in the tests/ directory are not ported yet.
-
- Oct 25, 2008
-
-
Liam Healy authored
All remaning tests are now defined with save-test, and the LISP-UNIT:DEFINE-TEST has been eliminated from the definition files, except for arrays.
-
- Sep 15, 2008
-
-
Liam Healy authored
Multiple fixes to restore tests: change to #'cl-array from #'data, use #'a macro, comment out a few tests do defer repair until later. Two errors in definitions of functions in histogram/updating-accessing.lisp fixed. Some uncommented-out test failures remain.
-
- Jul 25, 2008
-
-
lhealy authored
to load correctly. git-svn-id: svn+ssh://common-lisp.net/project/gsll/svn/branches/ffa@67 af03a46b-e846-0410-96e5-d5653c316fd0
-
lhealy authored
to be more like a standard GSLL interface, with a single function definition in terms of the GSL function. Example/test for it added. git-svn-id: svn+ssh://common-lisp.net/project/gsll/svn/trunk@39 af03a46b-e846-0410-96e5-d5653c316fd0
-
lhealy authored
in one place, in *type-names* for the types and in *data-class-name* for data classes, populated by #'add-data-class. Both defdata and defmfun-all use the table and so mapping between various names is consistent. The data class names are now different, *-double-float and *-single-float replaces *-double and *-single. The regression tests give the same results as before. git-svn-id: svn+ssh://common-lisp.net/project/gsll/svn/trunk@34 af03a46b-e846-0410-96e5-d5653c316fd0
-
lhealy authored
git-svn-id: svn+ssh://common-lisp.net/project/gsll/svn/trunk@26 af03a46b-e846-0410-96e5-d5653c316fd0
-
- Feb 24, 2008
-
-
liam authored
gives results, not checked. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3304 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Feb 18, 2008
-
-
liam authored
Rename defun-gsl, defvariable. Clean up markup and header files. :size to size make-tests and assert-numerical-equal git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3295 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Feb 16, 2008
-
-
liam authored
near zero, just make it zero. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3293 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Feb 06, 2008
-
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3284 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Feb 04, 2008
-
-
liam authored
objects for histogram. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3283 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Feb 03, 2008
-
-
liam authored
#'set-asf); minor bug fixes. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3282 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
liam authored
Replaces with-gsl-object and allows the lambda list to be something other than the concatenation of the allocation and setting lambda lists. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3279 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jan 27, 2008
-
-
liam authored
anything. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3275 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jan 28, 2007
-
-
liam authored
polynomial-solve-ws after polynomial-solve. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3177 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-