- Jul 16, 2010
-
-
Liam M. Healy authored
Most of the non-array copy and clone functions had wrong calls, wrong arguments, and/or superfluous arguments; now fixed.
-
Liam Healy authored
Copy with #'grid:copy methods and eliminate copy-to-destination and copy-making-destination. For non-grid objects, the presence or absence of destination selects different foreign functions.
-
- 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.
-
- Jul 02, 2010
-
-
Liam Healy authored
-
- Jun 30, 2010
-
-
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 21, 2009
-
-
Liam Healy authored
Moved the definition of the generic function copy-making-destination to copy objects while making a destination object, and the wrapper function #'copy for that and copy-to-destination to grid/ and c-array: package.
-
Liam Healy authored
The generic function definition for copy-to-destination is now in grid/ and the c-array package. This will make it accessible to non-GSLL foreign library interfaces, but the new location is a bit deceptive because a new method needn't be a subclass of foreign-array.
-
- Jan 25, 2009
-
-
Liam Healy authored
Change optional arguments to defmobject to keyword arguments, and add :gsl-version argument that will create the maker function to signal an error if the installed version of GSL is too old.
-
- Jan 12, 2009
-
-
Liam Healy authored
Redefine #'copy so that it has one required argument (source) and one optional argument (destination). For marrays, create a destination using make-marray, if one was not given, and then use the memcpy functions to fill the values. For all other mobjects, copy will copy objects by calling one of two generic functions, #'copy-to-destination and #'copy-making-destination, depending on whether a destination was supplied. The former is defined if a GSL _memcpy function exists. The latter will look for a GSL _clone function, then make a CL instance with the pointer returned as mpointer. If there is no clone function, it will attempt to make a new object using make-load-form, so will fail if that method has not been defined. Added a check to defmfun that signals an error if a variable is used in the C arguments other than top-level that is not used in the CL arglist. This should not happen and is usually an indication of a typo.
-
- Dec 26, 2008
-
-
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
Redesign #'defmobject so that a new method #'allocate is defined that calls the standard GSL allocate function for each object. Shrink the initialize-instance :after method to call #'allocate if the mpointer isn't given, and then set the finalizer. This way, an :mpointer made by something other than the allocate function may be supplied to the make-instance, and the object will be made correctly. This is used by #'clone functions in histogram and random number generators. Not compiled or tested, but macroexpansions look right.
-
- 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.
-
- Nov 16, 2008
-
-
Liam Healy authored
Renamed conditions in init/conditions.lisp and elsewhere to be more lisp like; e.g. EDOM is not 'input-domain. All tests except one pass.
-
- 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.
-
- Aug 31, 2008
-
-
Liam Healy authored
Several bugs with small fixes, modifications to eliminate warnings: - Bad names for argument variables in maref fixed. - Add depenedencies in gsll.asd to avoid warnings. - Histogram needs #'assign-pointer function which was previously eliminated. - #'scale is a generic function, change defun to defmethod in histogram. - New #'variables-used-in-c-arguments replaces #'c-arguments in defmfun, now is a simplistic code walker but goes to arbitrary depth. This will do for current uses of defmfun. - Export and defgenerics for #'alloc, #'free which are used by histogram and random. In gsl-objects.lisp for lack of a better place. System now completely compiles from scratch with only one warning "Implicitly creating new generic function BIND-GENERATE-BINDINGS." which is from metabang-bind. No new testing.
-
- Aug 23, 2008
-
-
Liam Healy authored
Missed #'mpointer changes and some renames; also change to new args for maref.
-
- Aug 17, 2008
-
-
Liam Healy authored
Little actual ffa usage, just the port to 'sizet, method and use of #'mpointer in the histogram context. It would be nice to be able to adapt defmfun to discriminating between 1d and 2d histograms rather than using histo-1d2d, but I will put that off for now. This compiles but is not tested.
-
- Jul 25, 2008
-
-
lhealy authored
git-svn-id: svn+ssh://common-lisp.net/project/gsll/svn/trunk@26 af03a46b-e846-0410-96e5-d5653c316fd0
-
- Feb 20, 2008
-
-
liam authored
gsl-source-file and gsl-line-number. Histogram free functions return void, not a pointer that needs to be checked. Clarify licenses. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3299 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 04, 2008
-
-
liam authored
objects for histogram. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3283 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
-
- Jan 02, 2007
-
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3165 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-