- 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.
-
Liam Healy authored
The function forward-fourier-transform now has an argument :decimation-in-frequency that will call the generic function forward-fourier-transform-dif-radix2 if non-NIL and the length of the vector is a power of 2. This is not tested yet.
-
- 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
-
-
Liam Healy authored
The individual real and complex defmfuns for forward transforms have been removed from fft-real.lisp and fft-complex.lisp and unified in fft-interface.lisp as forward-fourier-transform-radix2 and forward-fourier-transform-nonradix2. This is untested and is meant to experiment with unification of the functions; if successful, the other functions should be changed as similarly, and radix2/non-radix2 switch incorporated if possible.
-
Liam Healy authored
Added FFT to the list of features in index.html and removed from missing-features.text; also updated other things in missing-features.text.
-
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
The example shows real, complex, radix-2 and mixed-radix FFTs. It can be used in the unit-test framework, but is not properly generated yet.
-
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
The mixed radix complex single-float and double-floats now seem to work correctly. This would mean that all the complex FFTs are working, and only need a nicer interface (e.g. automatic determination of whether to use a radix-2 or mixed-radix algorithm).
-
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.
-
- Oct 18, 2009
-
-
Liam Healy authored
For methods on marrays, all default values for optional and key arguments were wrongly coerced to the array element type. This doesn't affect any current definitions in GSLL, but FFT functions with the stride specified, it will wrongly change the default value to the element type. This has been fixed by changing #'actual-class-arglist so that it looks up the type intended to be passed to the C function and coerces to that if it is available. Otherwise the expansion leaves the default value alone.
-
- Oct 16, 2009
-
-
Liam Healy authored
Index limits may be passed to set-matrix and to some of the functions dependent on it, so that e.g. a tridiagonal matrix can be defined without iterating over all elements. If the optional argument 'pass-element is non-NIL, the function will be passed a final argument which is the prior value of the current element.
-
- Sep 26, 2009
-
-
Liam Healy authored
Added the translated GSL tests to the linear algebra for QR decomposition with column pivoting. More arguments corresponding to values returned by the functions are now optional. Fixed the order of return values from QRPT-decomposition so that permutation is before signum. Fixed argument lists to QRPT-QRsolve.
-
Liam Healy authored
Added eight tests from GSL's test for Cholesky decomposition and solving. The four decomposition tests incorrectly produce zero in CCL. The first optional argument in matrix-product and matrix-product-symmetric can now be nil, to indicate a matrix of the right dimensions should be constructed. This is the default; the default previously was to make that matrix directly, which meant if any other optional arguments were supplied, the complicated default construction for the return matrix would have to be re-entered.
-
- Sep 25, 2009
-
-
Liam Healy authored
Added the standard set of linear algebra tests for the Householder transformation; all pass.
-
- Sep 22, 2009
-
-
Liam Healy authored
Add "d0" to test result for (test-qr-lssolve-dim *M53*) so that it's read as double-float; without that it is interpreted as single-float which gives a substantial discrepancy from the double-float result.
-
- Sep 21, 2009
-
-
Liam Healy authored
Changed required to optional arguments for several of the QR linear algebra functions, for returned quantities. 45 new tests added for QR that are translated from GSL's tests. Matrices and solutions that are used by more than one of the linear algebra techniques are defined in matrix-generation.lisp.
-
- Sep 20, 2009
-
-
Liam Healy authored
Added nine tests derived from the self-tests that GSL has for LU decomposition. All tests except the complex matrix pass within the tolerances prescribed by GSL.
-
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.
-
- Sep 18, 2009
-
-
Liam Healy authored
For the singular value decomposition functions, make the S vector and V matrix optional arguments, as they are quantities returned by the functions. Add tests translated from the GSL tests.
-
- Aug 27, 2009
-
-
Liam Healy authored
Merge branch 'ntuple'
-
Liam Healy authored
Ported ntuple to cbinfo form with tests duplicating the GSL tests in ntuple/test.c.
-
- Aug 26, 2009
-
-
Liam Healy authored
A list argument to defmobject :initialize-suffix now means what a list argument to defmfun to defmfun c-arguments does: there are two foreign functions corresponding to the Lisp function; in this case, to reinitialize-instance. The old meaning of having the second element specify the c-return reinitialize-instance has been eliminated; instead, this information is conveyed in a new key argument :ri-c-return.
-
- Aug 25, 2009
-
-
Liam Healy authored
Two new tests of minimization-one setting values have been added, duplicating the test which do not set values. Patch by Evgeniy Zhemchugov. SBCL 64: TOTAL: 1525 assertions passed, 5 failed, 0 execution errors.
-
- Aug 24, 2009
-
-
Liam Healy authored
ASDF definition of modules are with symbols, so the :depends-on reference to those modules is also with symbols, not strings.
-
Liam Healy authored
It is now possible to specify two foreign functions for the reinitialize-instance for defmobject. The switch between the function depends on the presence or absence of optional/key arguments. This is used in the definition of one-dimensional-minimizer to switch between gsl_min_fminimizer_set and gsl_min_fminimizer_set_with_values depending on the non-NIL value of f-minimum. The set-with-values case has not yet been tested.
-
- Aug 23, 2009
-
-
Liam Healy authored
Argument order in call to "gsl_min_fminimizer_set_with_values" in set-fminimizer-with-values now correctly matches stated order in /usr/include/gsl/gsl_min.h. Patch from Evgeniy Zhemchugov.
-
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*.
-
Liam Healy authored
The GSL condition code defconstants are now enclosed in an eval-when so that they can be used later in the same file.
-
- Jul 05, 2009
-
-
Liam Healy authored
Complete histogramming test ntuple-example-histogramming, which gets an error on the first row. It uses two new defined functions ntuple-example-val-func and ntuple-example-sel-func. The scale is a global *ntuple-example-scale*.
-
- Jun 18, 2009
-
-
Liam Healy authored
Some files in init depend on libgsl, so dependency is now given in gsll.asd.
-
- Jun 17, 2009
-
-
Liam Healy authored
Add read test to ntuple, fix incorrect C form for open-ntuple, make file names optional arguments to example functions.
-
- Jun 16, 2009
-
-
Liam Healy authored
Merge branch 'physical-constants'
-
Liam Healy authored
The CFFI-grovel with the double-float constants has been released in version 0.10.5, update the documentation to reflect this.
-
Liam Healy authored
ASDF load-op on cffi-grovel prior to defsystem so that cffi-grovel:grovel-file works.
-
Liam Healy authored
The constants used for GSL conditions (+EDOM+ etc.) are defined inside an eval-when so that implementations like CLISP that don't evaluate at compile time will still be able to use the constants in the following parts of the file. This now compiles in CLISP (as well as SBCL and CCL).
-