- Nov 25, 2010
-
-
Liam Healy authored
New macros #'maref and #'(setf maref) get and set elements of the GSL array directly from the mpointer. These are not used by users, but in the make-funcallable-form expansion of callbacks when scalarsp = T is specified. This fixes an error in the argument order in the (setf get-value) generic function that this replaces.
-
- Nov 24, 2010
-
-
Liam M. Healy authored
New macro access-value to call gsl_*_set and gsl_*_get, as yet unused. It will eventually replace get-value and (setf get-value) as used in reference-foreign-element, but has the arguments in the right order and because it's a macro, expands immediately to a cffi:foreign-funcall instead of doing a generic function dispatch on an eql spcializer of the class name.
-
- Nov 14, 2010
-
-
Liam Healy authored
Revert the last histogram change because GSD has been changed so that the gref compiler macro does not take effect except for foreign-array types.
-
Liam Healy authored
Define method grid:gref* for histograms; it was a definition of grid:gref, but with the compiler macro that turns that into grid:gref*, we need it to be a definition of grid:gref* instead. Removed the definition of +foreign-array-pointer+ and +foreign-array-type+ to the grid package.
-
- Oct 12, 2010
-
-
Liam M. Healy authored
-
- Oct 03, 2010
-
-
Liam Healy authored
-
ssh://repo.or.cz/srv/git/gsllLiam Healy authored
-
James Wright authored
-
- Oct 01, 2010
-
-
Sumant Oemrawsingh authored
Effectively, non-radix-2 algorithm tests on power-of-2 vector sizes are added. The result is, that some tests fail, and the cause at this point is not yet clear. The tests that fail, are all related to non-radix-2 algorithms working on power-of-2 vector sizes. Only tests that are missing, are the so-called bitreverse tests.
-
- Sep 15, 2010
-
-
Sumant Oemrawsingh authored
Previously, each element that was checked off-stride would count as an assertion.
-
Sumant Oemrawsingh authored
-
Sumant Oemrawsingh authored
For stride > 1 elements, the results are compared only on-stride, while (for complex only) it is verified that off-stride elements are left alone. Tests are still disabled due to time it takes to complete tests. Tests are not yet complete wrt GSL's FFT tests.
-
- Sep 04, 2010
-
-
Liam Healy authored
-
Liam Healy authored
Since the function vector/length no longer relies on GSL for doing the division, it works for all versions of GSL and whether or not FSBV is loaded. This fixes a failure for those versions where :initial-contents was getting an array and not a list.
-
- Sep 02, 2010
-
-
Sumant Oemrawsingh authored
There was one case left where even out-of-stride elements were scaled as well. Tests are still not enabled.
-
- Sep 01, 2010
-
-
Sumant Oemrawsingh authored
The test functions did not properly initialize newly created vectors to contain unique values. This caused comparison of elements that are out of the stride to randomly succeed. The new test functions properly initialize the vectors just like is done in the GSL test functions. The result is that comparison of elements that are out of stride should fail consistently. This automatically means that the comparison should only check elements which are on stride, just like is done in GSL. This is not fixed yet, so the fast-fourier-transform unit tests are still left disabled for now.
-
- Aug 23, 2010
-
-
Liam Healy authored
The FFT tests were testing nothing of consequence, just that NIL was equal to NIL, because it was looking at the result of (reset-urand) and then three non-existent multiple values. This is now fixed, so that fft-*-result-check actually binds the results of the calculations. Also, single-float tests are referenced to +sgl-epsilon+ and not +dbl-epsilon+. However, for (all-fft-test-forms 9 3 (64 99)), many tests fail: FAST-FOURIER-TRANSFORM: 235 assertions passed, 55 failed. so the tests are commented out.
-
- Aug 21, 2010
-
-
Liam Healy authored
New function size-vector-scalar replaces size-vector-real, and gives the size as a double float if the array is real, and as the element type if it is complex, in order to be acceptable to the elt* interface to GSL's _scale routines.
-
- Aug 19, 2010
-
-
Liam M. Healy authored
-
- Aug 17, 2010
-
-
Liam Healy authored
-
- Aug 14, 2010
-
-
Liam Healy authored
Add FFT tests; these are a subset of the GSL tests. For some reason the tests take a lot longer in GSLL, so instead of testing all sizes 1...99, we test only 1...9 and then 64 and 99 for stride 1 only.
-
- 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.
-
Liam M. Healy authored
-
Liam Healy authored
The imaginary part of the elements in create-complex-matrix should be inverted to match GSL's create_complex_matrix. Now all LU tests pass.
-
- Aug 11, 2010
-
-
Liam M. Healy authored
CLISP does not recognize that an uninterned symbol in different parts of a progn is the same; http://sourceforge.net/tracker/?func=detail&aid=836838&group_id=1355&atid=101355 Since this bug was "long-standing" the better part of a decade ago, we will assume it now has tenure and change the progn to let.
-
- Aug 10, 2010
-
-
Liam Healy authored
-
- Aug 08, 2010
-
-
Liam Healy authored
The standard declares that 'pi is an implementation-dependent long-float, but GSL requires double float, so the constant 'dpi has been defined as (coerce pi 'double-float). This should make CLISP at the least happier.
-
- Jul 22, 2010
-
-
Liam M. Healy authored
-
- Jul 21, 2010
-
-
Liam M. Healy authored
Update status.text mostly be removing obsolete information without replacing it with current information. Use alexandria:lastcar for the last element of list so I do not use private definitions (non-loaded source).
-
- Jul 20, 2010
-
-
Liam M. Healy authored
Name conditions generic-failure-1 and generic-failure-2 because CCL doesn't like the duplicate differently. Withdraw the conditionalization away of +nan+, +positive-infinity+, and +negative-infinity+ for CCL because the latest version "Version 1.6-dev-r13994M-trunk (LinuxX8664)" can handle them.
-
- Jul 19, 2010
-
-
Liam M. Healy authored
In CCL, +nan+, +positive-infinity+, +negative-infinity+ are not defined because of a problem with CCL loading these definitions.
-
Liam Healy authored
Trivial conflicts: data/array-structs.lisp init/init.lisp
-
Liam Healy authored
-
- 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 15, 2010
-
-
Liam M. Healy authored
The maximum order for Mathieu array functions is the sum of the minimum order and the size, less 1. The -1 was missing but is necessary because the orders given are inclusive; without it, random memory faults occur.
-
- Jul 14, 2010
-
-
Liam M. Healy authored
1. Fix argument order in permutation-inverse test. 2. Test results for cholesky need to nest list for array contents. 3. Fix incorrect initial contents for matrix-transpose. Now the tests results on SBCL 64 bit, GSL 1.14 are the same as the master branch: TOTAL: 4014 assertions passed, 2 failed, 0 execution errors.
-
Liam Healy authored
In make-foreign-array-from-mpointer, convert category-or-rank to 'category in the symbol (in GSLL package) form, and then do cases only on the symbol.
-
Liam Healy authored
Define get-value and (setf get-value) methods for matrices, and compute two indices when used, by making use of affi::delinearize-index. Add &rest to *defmfun-llk* so that it won't be included in the ignore list. Minor fixes to make more tests work.
-
Liam Healy authored
-