- 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
-
- Jul 08, 2006
-
-
liam authored
:pointer is automatically checked with a generic error message; otherwise, the return is checked if null-pointer-info is bound. Adaptive integration method #'integration-QAG finished and works. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3112 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jun 14, 2006
-
-
liam authored
workable if not completely done (divided differences compiles but not tested). git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3094 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jun 12, 2006
-
-
liam authored
test function fp-sequence. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3091 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jun 08, 2006
-
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3090 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3089 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- May 30, 2006
-
-
liam authored
data up; port data.lisp to new defun-gsl, untested. Start to port polynomial but it depends on data. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3077 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Apr 29, 2006
-
-
liam authored
argument, like :method argument. The arguments to the GSL function can be mapped arbitrarily, and different pieces like the size of a vector (with new function #'dim0) or the pointer #'gsl-array can be put in the correct place in the arglist explicitly. Thus I can simplify #'splice-arguments and eliminate the hackish automatic insertion of the vector dimension after (or maybe before) when declared (:double *). Ported all half-dozen or so uses to the new form. Add :after cl-invalidate where needed. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3054 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Apr 22, 2006
-
-
liam authored
definitions. Added unit (regression) test from http://www.cs.northwestern.edu/academics/courses/325/readings/lisp-unit.html and defined my own floating-point comparison using 12 digits of the printed representation. Uncommented #'polynomial-solve-ws as it should compile correctly even though it's not terribly useful as-is. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3044 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Apr 21, 2006
-
-
liam authored
(defun-gsl polynomial-solve-ws ((coefficients (:double n)) (workspace poly-complex-workspace)) "gsl_poly_complex_solve" :return ((gsl-complex (1- n)))) expands to (DEFUNX-MAP POLYNOMIAL-SOLVE-WS "gsl_poly_complex_solve" (COEFFICIENTS WORKSPACE) (LET ((N (FIRST (STORAGE-SIZE COEFFICIENTS)))) (WITH-FOREIGN-OBJECTS ((#:RET4113 'GSL-COMPLEX (1- N))) ... ))) This currently works only for a vector; no accomodation is made for matrices. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3043 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Apr 20, 2006
-
-
liam authored
certain functions are not available. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3042 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Apr 19, 2006
-
-
liam authored
handled as a gsl-data objects, then pulled apart for the C function call. CL function can return function argument with :return-input argument to defun-gsl. Allow mode to be positioned anywhere. Now bessel-sequence-Jnu compiles, tested new form of polynomial-eval. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3041 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Mar 26, 2006
-
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3002 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3001 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
liam authored
this feature in polynomial.lisp. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3000 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Mar 24, 2006
-
-
http://www.cliki.net/cffi-unixliam authored
Unix's size_t with :size (instead of :uint, which isn't always right). git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@2997 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Mar 23, 2006
-
-
liam authored
Make +nan+ etc. constants. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@2996 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-