- Jan 30, 2011
-
-
Liam M. Healy authored
Define gsll-tests as a system connection, rather than a separate ASDF system. This means that if lisp-unit and GSLL are loaded (in either order), then the tests will automatically be available.
-
- Jan 12, 2011
-
-
Liam M. Healy authored
-
- Jan 01, 2011
-
-
Liam M. Healy authored
Depend on Antik instead of GSD. Add new methods for Antik functions on foreign-arrays. This permits algebra-style computation on arrays, e.g., (in-package :antik-user) (setf grid:*default-grid-type* 'grid:foreign-array) (expt (* (rotate-3d :z #_15_deg) (rotate-3d :z #_45_deg)) -1) #m((0.5 0.8660254037844386 0.0) (-0.8660254037844385 0.5000000000000001 -0.0) (0.0 0.0 1.0)) (rotate-3d :z #_-60_deg) #m((0.5000000000000001 0.8660254037844386 0.0) (-0.8660254037844386 0.5000000000000001 0.0) (0.0 0.0 1.0))
-
- Aug 13, 2010
-
-
Liam M. Healy authored
-
- Aug 10, 2010
-
-
Liam Healy authored
-
- Jul 14, 2010
-
-
Liam Healy authored
-
- Jul 07, 2010
-
-
Liam M. Healy authored
-
Liam Healy authored
Since the copy generic function has been established in grid, eliminate copy-to-destination for arrays, mvectors, matrices.
-
- Jun 30, 2010
-
-
Liam Healy authored
All of GSLL now compiles using foreign-array; only the copy functions have been commented out.
-
- Jun 29, 2010
-
-
Liam Healy authored
Combinations working again with foreign-array, and improved return from combination-next and combination-previous. Return value from #'success-failure is now T or NIL.
-
Liam Healy authored
-
- Jun 28, 2010
-
-
Liam Healy authored
-
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.
-
- May 26, 2010
-
-
Liam M. Healy authored
-
- Apr 18, 2010
-
-
Liam Healy authored
Use GSL tests for random distributions. Port all tdist tests; some of laplace.
-
- Feb 07, 2010
-
-
Liam Healy authored
-
- Jan 01, 2010
-
-
Liam Healy authored
-
- Dec 27, 2009
-
-
Liam Healy authored
Add copyright and license information to each file, include a copy of the GPL under documentation/COPYING.
-
- Dec 24, 2009
-
-
Liam Healy authored
The grid subdirectory is now the c-array system within the GSD repository, as it has no GSL-dependent definitions and is potentially useful on its own for other C libraries. There is a bare minimum mention of GSD in the documentation, which needs to be enhanced as it is required for GSLL to compile/load.
-
- Dec 21, 2009
-
-
Liam Healy authored
Define foreign-array as subclass of grid:grid with access to elements through grid:gref.
-
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.
-
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.
-
Liam Healy authored
Move number-conversion.lisp from init/ to grid/ and symbol-type portion of init/interface.lisp to grid/symbol-type.lisp. All tests pass TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
-
- Dec 08, 2009
-
-
Liam Healy authored
Continued separation of GSLL into two packages and eventually systems, the definitions in element-types.lisp are now in the c-array package.
-
Liam Healy authored
Eventually, the definitions used for dealing with types and foreign arrays that aren't specific to GSL will be split off into another system, so that it will be easier to build other foreign library interfaces using these definitions. As a start, the grid/ directory defines a package 'c-array and some of the type definitions formerly in init/. Everything compiles and tests as before, on SBCL TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
-
- Nov 26, 2009
-
-
Sumant Oemrawsingh authored
fft-frequency-vector can be used to make a vector that contains the actual sample frequencies (so you don't have to guess or write your own). fft-shift and fft-inverse-shift shift the zero frequency to the center (for easy plotting), and the inverse (for proper inverse FFT). These functions are comparable to fftfreq, fftshift and ifftshift in numpy (if anyone cares...).
-
- Nov 09, 2009
-
-
Liam M. Healy authored
In FFT, the default wavetable and workspace arguments to functions now all use #'make-fft-wavetable and make-fft-workspace. Removed definition of +cgsm-gauss+ because evidently GSL_CONST_CGSM_GAUSS is no longer in GSL as of 1.13. Added dependency on init for physical-consants. Trivial change to names of systems in asd files to be more standard.
-
Liam Healy authored
The real array for test-real-radix2 was being made twice as long as it should have been; fixed. Also now load discrete.lisp in gsll.asd so that the tests can be called.
-
- Nov 07, 2009
-
-
Liam Healy authored
The fast Fourier transform port now complete except for the tests. The backward, inverse, and selectable direction transforms are now unified in their respective files, a new file has been created for the wavetable and workspace mobjects. The output of the example functions looks plausible.
-
- Nov 04, 2009
-
-
Liam Healy authored
Function #'unpack will switch between the various unpacking generic functions, depending on the specified unpack type and whether the vector length is a power of 2. New file unpack.lisp has all the unpacking functions.
-
- Nov 02, 2009
-
-
Liam Healy authored
The function #'forward-fourier-transform selects among the 12 GSL forward FFT functions, depending on whether the length of the vector is a power of 2, whether the :half-complex flag is set, and the type of the vector. This exported function, along with its supporting internal functions, are in the file forward.lisp. The dimension argument for fft-pulse-test is now mandatory. All mobjects have been renamed so that they end with either -single-float or -double-float, consistent with the naming scheme in the rest of GSLL. Eliminated (evidently) obsolete example file fft-example.lisp.
-
- Nov 01, 2009
-
-
Sumant Oemrawsingh authored
A hopefully nicer interface to the FFT functions are given, where the precise FFT function is deduced from the supplied vector. While the interface is nicer, the code is ugly, hacky and not fool proof yet. Cleanup required.
-
Sumant Oemrawsingh authored
Half-complex FFT functions were split off into their own file. Wavetable and workspace names now have an fft- prepended to their name, for clarity.
-
- Oct 31, 2009
-
-
Sumant Oemrawsingh authored
-
Sumant Oemrawsingh authored
I screwed up the fft module in gsll.asd with a typo and forgot to test before commit. This is now fixed.
-
Sumant Oemrawsingh authored
All the real and "half-complex" FFT functions have been added. See GSL docs on how a half-complex array works. Some old obsolete comments from fft-complex.lisp were removed. TODO: add tests and examples.
-
- Oct 25, 2009
-
-
Sumant Oemrawsingh authored
Only complex fast fourier transforms have been added. The radix-2 versions have been tested and found to work. The decimation-in-frequency versions have been added, but not tested. The mixed-radix versions only work for complex double-float at the moment.
-
- Sep 20, 2009
-
-
Liam Healy authored
Matrices (and vectors) may be created from functions of the element indices. This is needed to create the matrices used in testing the linear algebra functions. It also can be of general use, especially with further generalization. For now, there are no exported symbols from these definitions.
-