 31 Dec, 2008 2 commits


Liam Healy authored
The function #'polynomialsolve is now directly defined with defmfun with a single required argument and two optional arguments: the answer vectorcomplexdoublefloat 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 #'invertmatrix and return the matrixdoublefloat 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 polynomialevaldivideddifference swapelements permutationreverse luinvert permutationnext)

 27 Dec, 2008 1 commit


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 initializesuffix, with the second element indicating the :creturn.

 26 Dec, 2008 3 commits


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 foreignarray represents foreign (C) arrays, without GSL or mobject superclass. New class name 'marray was 'gsldata, representing arrays in GSL. These objects are made by #'makemarray, formerely #'makearray*. New file names: init/mobject.lisp was init/gslobjects.lisp and data/marray.lisp was data/data.lisp.

 25 Dec, 2008 1 commit


Liam Healy authored
Defined makeloadform method for data. For histogram and random number generators, old code has been removed. Nothing has been compiled.

 07 Dec, 2008 1 commit


Liam Healy authored
Instead of making the ffa in makearray*, we now make it in the initializeinstance :after method for gsldata. This means that subclasses (permutations, combinations) will automatically make the arrays. Rewrote makearray* so that it is just a wrapper for makeinstance, computing the dimensions from the specified initial parameters. Permutations and combinations are now made with make* functions.

 01 Dec, 2008 1 commit


Liam Healy authored
GSL arrays are garbagecollected 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 #'makearray* call. Examples and usage ported to this new form. Compiled only; not tested yet. No effort to port to nonnative implementation yet; tests as expanded in the tests/ directory are not ported yet.

 25 Oct, 2008 1 commit


Liam Healy authored
All remaning tests are now defined with savetest, and the LISPUNIT:DEFINETEST has been eliminated from the definition files, except for arrays.

 15 Sep, 2008 1 commit


Liam Healy authored
Multiple fixes to restore tests: change to #'clarray from #'data, use #'a macro, comment out a few tests do defer repair until later. Two errors in definitions of functions in histogram/updatingaccessing.lisp fixed. Some uncommentedout test failures remain.

 25 Jul, 2008 4 commits


lhealy authored
to load correctly. gitsvnid: svn+ssh://commonlisp.net/project/gsll/svn/branches/ffa@67 af03a46be846041096e5d5653c316fd0

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. gitsvnid: svn+ssh://commonlisp.net/project/gsll/svn/trunk@39 af03a46be846041096e5d5653c316fd0

lhealy authored
in one place, in *typenames* for the types and in *dataclassname* for data classes, populated by #'adddataclass. Both defdata and defmfunall use the table and so mapping between various names is consistent. The data class names are now different, *doublefloat and *singlefloat replaces *double and *single. The regression tests give the same results as before. gitsvnid: svn+ssh://commonlisp.net/project/gsll/svn/trunk@34 af03a46be846041096e5d5653c316fd0

lhealy authored
gitsvnid: svn+ssh://commonlisp.net/project/gsll/svn/trunk@26 af03a46be846041096e5d5653c316fd0

 24 Feb, 2008 1 commit


liam authored
gives results, not checked. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3304 a3d8a0fbc1db0310ace7a616afeb9e30

 18 Feb, 2008 1 commit


liam authored
Rename defungsl, defvariable. Clean up markup and header files. :size to size maketests and assertnumericalequal gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3295 a3d8a0fbc1db0310ace7a616afeb9e30

 16 Feb, 2008 1 commit


liam authored
near zero, just make it zero. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3293 a3d8a0fbc1db0310ace7a616afeb9e30

 06 Feb, 2008 1 commit


liam authored
gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3284 a3d8a0fbc1db0310ace7a616afeb9e30

 04 Feb, 2008 1 commit


liam authored
objects for histogram. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3283 a3d8a0fbc1db0310ace7a616afeb9e30

 03 Feb, 2008 2 commits


liam authored
#'setasf); minor bug fixes. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3282 a3d8a0fbc1db0310ace7a616afeb9e30

liam authored
Replaces withgslobject and allows the lambda list to be something other than the concatenation of the allocation and setting lambda lists. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3279 a3d8a0fbc1db0310ace7a616afeb9e30

 27 Jan, 2008 1 commit


liam authored
anything. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3275 a3d8a0fbc1db0310ace7a616afeb9e30

 28 Jan, 2007 1 commit


liam authored
polynomialsolvews after polynomialsolve. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3177 a3d8a0fbc1db0310ace7a616afeb9e30

 08 Jul, 2006 1 commit


liam authored
:pointer is automatically checked with a generic error message; otherwise, the return is checked if nullpointerinfo is bound. Adaptive integration method #'integrationQAG finished and works. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3112 a3d8a0fbc1db0310ace7a616afeb9e30

 14 Jun, 2006 1 commit


liam authored
workable if not completely done (divided differences compiles but not tested). gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3094 a3d8a0fbc1db0310ace7a616afeb9e30

 12 Jun, 2006 1 commit


liam authored
test function fpsequence. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3091 a3d8a0fbc1db0310ace7a616afeb9e30

 08 Jun, 2006 2 commits


liam authored
gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3090 a3d8a0fbc1db0310ace7a616afeb9e30

liam authored
gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3089 a3d8a0fbc1db0310ace7a616afeb9e30

 30 May, 2006 1 commit


liam authored
data up; port data.lisp to new defungsl, untested. Start to port polynomial but it depends on data. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3077 a3d8a0fbc1db0310ace7a616afeb9e30

 29 Apr, 2006 1 commit


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 #'gslarray can be put in the correct place in the arglist explicitly. Thus I can simplify #'splicearguments and eliminate the hackish automatic insertion of the vector dimension after (or maybe before) when declared (:double *). Ported all halfdozen or so uses to the new form. Add :after clinvalidate where needed. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3054 a3d8a0fbc1db0310ace7a616afeb9e30

 22 Apr, 2006 1 commit


liam authored
definitions. Added unit (regression) test from http://www.cs.northwestern.edu/academics/courses/325/readings/lispunit.html and defined my own floatingpoint comparison using 12 digits of the printed representation. Uncommented #'polynomialsolvews as it should compile correctly even though it's not terribly useful asis. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3044 a3d8a0fbc1db0310ace7a616afeb9e30

 21 Apr, 2006 1 commit


liam authored
(defungsl polynomialsolvews ((coefficients (:double n)) (workspace polycomplexworkspace)) "gsl_poly_complex_solve" :return ((gslcomplex (1 n)))) expands to (DEFUNXMAP POLYNOMIALSOLVEWS "gsl_poly_complex_solve" (COEFFICIENTS WORKSPACE) (LET ((N (FIRST (STORAGESIZE COEFFICIENTS)))) (WITHFOREIGNOBJECTS ((#:RET4113 'GSLCOMPLEX (1 N))) ... ))) This currently works only for a vector; no accomodation is made for matrices. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3043 a3d8a0fbc1db0310ace7a616afeb9e30

 20 Apr, 2006 1 commit


liam authored
certain functions are not available. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3042 a3d8a0fbc1db0310ace7a616afeb9e30

 19 Apr, 2006 1 commit


liam authored
handled as a gsldata objects, then pulled apart for the C function call. CL function can return function argument with :returninput argument to defungsl. Allow mode to be positioned anywhere. Now besselsequenceJnu compiles, tested new form of polynomialeval. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3041 a3d8a0fbc1db0310ace7a616afeb9e30

 26 Mar, 2006 3 commits


liam authored
gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3002 a3d8a0fbc1db0310ace7a616afeb9e30

liam authored
gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3001 a3d8a0fbc1db0310ace7a616afeb9e30

liam authored
this feature in polynomial.lisp. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3000 a3d8a0fbc1db0310ace7a616afeb9e30

 24 Mar, 2006 1 commit


http://www.cliki.net/cffiunixliam authored
Unix's size_t with :size (instead of :uint, which isn't always right). gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@2997 a3d8a0fbc1db0310ace7a616afeb9e30

 23 Mar, 2006 1 commit


liam authored
Make +nan+ etc. constants. gitsvnid: svn+ssh://pop/opt/space/mathematics/gsl/trunk@2996 a3d8a0fbc1db0310ace7a616afeb9e30
