- Oct 24, 2011
-
-
Liam M. Healy authored
Eliminate fsbv:object for built-in types; started conversion of special function result (sf-result*) structures but this requires a modification to CFFI. Simulated annealing structure called by value. Use cffi-fsbv's sizet definition; this imposes a dependence on that system. No compilation attempted yet.
-
- Oct 18, 2011
-
-
Liam M. Healy authored
-
- Aug 20, 2011
-
-
Liam M. Healy authored
CCL gets a conflict between the type antik:acceleration and the class gsll:acceleration, so remove the symbol from the shadowing list of GSLL and add it to antik::*antik-user-shadow-symbols*.
-
- Jan 13, 2011
-
-
Liam M. Healy authored
Define symbols to be shadowed and packages to be used for convenience and conflict resolution in the Antik user packages.
-
- Jan 12, 2011
-
-
Liam M. Healy authored
Don't import grid:element-type, grid:foreign-array, and grid:matrix, but rather refer to them with package prefix explicitly. Superficially checked but requires more careful check.
-
Liam M. Healy authored
-
- Jan 10, 2011
-
-
Liam M. Healy authored
Explicit package reference to grid:dimensions but there's an error because if the symbol isn't imported many more tests fail.
-
Liam M. Healy authored
-
- Jan 01, 2011
-
-
Liam M. Healy authored
Import symbols from the gsll package into the antik-user package, managing conflicts.
-
- Aug 17, 2010
-
-
Liam Healy authored
-
- Aug 13, 2010
-
-
Liam M. Healy authored
Put :unix at the end of load-foreign-library list so that more specific unices like :darwin get seen first.
-
- Jul 16, 2010
-
-
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 02, 2010
-
-
Liam Healy authored
-
- Jul 01, 2010
-
-
Liam Healy authored
Use #'gsl:size to call #'grid:total-size for foreign arrays, and use the former function exclusively in GSLL. Fix some more tests.
-
- Jun 30, 2010
-
-
Liam Healy authored
All of GSLL now compiles using foreign-array; only the copy functions have been commented out.
-
- Jun 28, 2010
-
-
Liam Healy authored
Set the contents of the block structure before using it in alloc-from-block. Replace the 'marray class with 'foreign-array. Quote foreign struct slots. Eliminate copy methods. Now simple operations like 'vector-reverse work.
-
- 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.
-
- Jun 24, 2010
-
-
Liam M. Healy authored
-
- May 23, 2010
-
-
Liam Healy authored
The paths to the foreign libraries have been simplified, making use of CFFI's statement "Most, if not all, Lisps supported by CFFI have a reasonable default search algorithm for foreign libraries." Therefore, the paths have been eliminated. If they need to be added, this should be done by modifying the variable cffi:*foreign-library-directories*. The header files location set with cc-flags for Darwin has been changed to use (gsl-config "--cflags").
-
- 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
Define foreign-array as subclass of grid:grid with access to elements through grid:gref.
-
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
Moved the defgeneric and methods for CL arrays and foreign-array for cl-array, maref and (setf maref) to a new file grid/element-reference.lisp. The old file data/maref.lisp remains with the GSL pointer methods.
-
Liam Healy authored
Continuing the separation of definitions useful for any libraries using C arrays, foreign-array.lisp and foreign-friendly.lisp have been moved to the grid subdirectory and placed in the c-array package. All tests pass on SBCL 64, TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
-
- Aug 23, 2009
-
-
Liam Healy authored
Handle conditional cflags in the grovel file instead of modifying the cffi-grovel::*cc-flags* variable. Also use strings for depends-on in asdf file.
-
- Aug 22, 2009
-
-
Liam Healy authored
Darwin ports installs .h files under /opt/local/include/, so put -I option onto cffi-grovel::*cc-flags*.
-
- May 25, 2009
-
-
Liam Healy authored
Instead of hardwiring GSL's #define or enum values, define them in init/libgsl-unix.lisp and run CFFI-grovel on them. This has the advantage that if these values change in GSL, GSLL will automatically get the new values; also, there was an error in the 'integrate-method enum due to an incorrect starting value. It has the disadvantage that building GSLL now requires a C compiler and some of the header (.h) files for GSL. Also, it's not clear what the form for libgsl-*.lisp files are for non-unix OSes.
-
- Apr 04, 2009
-
-
Liam Healy authored
The defmobject argument 'class-slots-instance is no longer used, so #'callback-arg-p and the only use of with-unique-names can be eliminated, and thus the dependency on cl-utilities. Constant GSL functions in the library (such as minimizers) which were introduced in a GSL version newer than loaded now expand as symbol macros which signal the 'obsolete-gsl-version error.
-
- Jan 29, 2009
-
-
Liam Healy authored
Turned many functions, particularly those having to do with interpolation, into generic functions and methods, and thus renamed them and changed their arglists. Added test for basis spline; it works in SBCL but does not in CCL.
-
- Jan 27, 2009
-
-
Liam Healy authored
Fixed several bugs that affected non-native implementations, where :inputs, :outputs, or both were not properly declared. According to the CFFI manual, "Portability note: defcallback will not work correctly on some Lisps if it's not a top-level form." Evidently, this includes Clozure CL, so a new symbol :callback-toplevel-only has been pushed onto *features* if openmcl. This changes examples with callbacks to define the callbacks in a separate defparameter rather than in-line when the mobject is made of the function is called. As a result of both these changes, the only errors left in CCL tests were ones seen previously. CCL 64: TOTAL: 1259 assertions passed, 3 failed, 0 execution errors. SBCL 64: TOTAL: 1257 assertions passed, 5 failed, 0 execution errors.
-
- Jan 24, 2009
-
-
Liam Healy authored
Macro defcbstruct and all the macros built on it now simply return the C struct needed by GSL functions instead of binding a special whose name is then passed to the GSL functions. Specials can still be used of course in the standard way like defparameter, but the results can also be bound locally with a let or passed in directly. The name of a callback passed to defmcallback and to defcbstruct in all the macros that expand both is now gensymmed (since it is used only long enough to put in a slot of the cbstruct) instead of taken to be the name of the CL function, in order to make clear the different objects. Unfortunately, there is appears to be a bug in CFFI using defcallback with an uninterned symbol in CCL, so I have put a workaround in. However, there is still another error even with this workaround. Thus test results are: SBCL 64: TOTAL: 1248 assertions passed, 5 failed, 0 execution errors. CCL 64: TOTAL: 1229 assertions passed, 2 failed, 6 execution errors.
-
- Jan 16, 2009
-
-
Liam Healy authored
GSLL is no longer dependent on cl-utilities, so remove it. Generic function #'name needs to be loaded before the obsolete-gsl-version condition is defined, otherwise CLISP complains. Conditionalize away a couple more 64 bit tests that were overlooked.
-
Liam Healy authored
New directory "calculus" to hold numerical-differentiation, numerical-integeration, and monte-carlo. Converted some return array arguments in BLAS to optional arguments. Define a condition 'obsolete-gsl-version to use in #'complete-definition. Try to incorporate cygwin into init.lisp; needs testing by a cygwin user.
-
- Dec 27, 2008
-
-
Liam Healy authored
Fixes to some definitions lognormal, discrete: use #'mpointer lu: new syntax for making array quasi: order of arguments fixed in make-quasi-random-number-generator sorting: syntax to make combination All tests have been regenerated because syntax for arrays etc. has changed. Visually inspected that results match previous check in.
-
- Dec 22, 2008
-
-
Liam Healy authored
Merged in minor changes from master.
-
- Nov 16, 2008
-
-
Liam Healy authored
By incorporating a few definitions modified from Tamas Papp's FFA directly into GSLL, there is no dependence anymore on FFA separately. With the conversion of a few definitions, the dependency on iterate has therefore been eliminated also. This compiles without errors or warnings on SBCL.
-
- Oct 14, 2008
-
-
Liam Healy authored
New macro #'save-tests will put list of tests onto *all-generated-tests*. The corresponding lisp-unit test can be generated with #'create-test. The macro #'generate-all-array-tests now uses #'save-tests, so all tests defined that way will be put onto the lists. All tests can be written to a file with #'write-tests-to-file, but this writes to a single file and I think I will want to write each test to a separate file so that it is easier to replace or augment one test without touching the others. Two sections, Airy and Clausen, use these definitions.
-
- Jul 25, 2008
-
-
lhealy authored
data objects. This works for two different kinds of vectors using #'set-all. git-svn-id: svn+ssh://common-lisp.net/project/gsll/svn/branches/ffa@52 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
-