gsll:1d49be888092865ba71eb5945d3df3bf1b4d1add commitshttps://gitlab.common-lisp.net/antik/gsll/-/commits/1d49be888092865ba71eb5945d3df3bf1b4d1add2009-10-31T14:32:31+01:00https://gitlab.common-lisp.net/antik/gsll/-/commit/1d49be888092865ba71eb5945d3df3bf1b4d1addTypo in gsll.asd fixed2009-10-31T14:32:31+01:00Sumant Oemrawsinghsoemraws@xs4all.nl
I screwed up the fft module in gsll.asd with a typo and forgot to test before
commit. This is now fixed.https://gitlab.common-lisp.net/antik/gsll/-/commit/e65992e2454fde38601a5c4eef15aa3773ef41bfReal FFTs have been added.2009-10-31T14:30:03+01:00Sumant Oemrawsinghsoemraws@xs4all.nl
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/f321a5918c24607a4b21b5bbddfdfbf5d376c500Mixed radix complex float FFTs implemented2009-10-25T20:11:30+01:00Sumant Oemrawsinghsoemraws@xs4all.nl
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).https://gitlab.common-lisp.net/antik/gsll/-/commit/68d8dee78259c38202e4a349bd2ddbb6731f41b2Preliminary FFT functionality2009-10-25T13:17:51+01:00Sumant Oemrawsinghsoemraws@xs4all.nl
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/5a5906dd66d77dbb83f617731dc13369579760c7Fix defmfun expansion of default optional/key values2009-10-18T19:44:41-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/33d52a9f7cd96af8b4e4d89fbcc24d77dfcb9c27Generalize set-matrix to have index limits2009-10-15T22:59:55-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/a42b3a3a813ef2d4aeb24f81660e0368e356121fQRPT: add tests, make arguments optional, fix bugs2009-09-26T16:56:26-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/bcb8e0b58e02f82dc8d997d2a90b1a5b8d8b3fa6Cholesky: add tests; return argument for matrix-product2009-09-26T13:03:49-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/c2a88130941a46e02180d891bdd334adf6d51332Householder: add tests from GSL2009-09-24T22:28:40-04:00Liam Healyliam@thinkpad.local
Added the standard set of linear algebra tests for the Householder
transformation; all pass.https://gitlab.common-lisp.net/antik/gsll/-/commit/df63f1b6d5d6ee83a68e6e59aace80527545ea9aTest result is double-float2009-09-22T12:26:21-04:00Liam Healylnp@healy.washington.dc.us
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/44b9d868a51985da43fd0c3ea82a7b06d0a66c68QR: More optional arguments, add tests form GSL2009-09-20T23:23:18-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/75f04669294860e31cb30ca6521f927587deff66LU linear algebra tests from GSL2009-09-20T15:39:09-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/72eaac6da0ec2e33b9caa1e76559a43a7e4d6919Matrix generation for linear algebra tests2009-09-19T21:58:09-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/03ad93e0e7dbf927dd4203083cde29b2302a1034SVD: More optional arguments, add tests2009-09-18T17:04:40-04:00Liam Healylnp@healy.washington.dc.us
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/2965e775eea3f1cb7cdb98d1c0f9023f4081be2cMerge ntuple2009-08-26T21:28:25-04:00Liam Healyliam@thinkpad.local
Merge branch 'ntuple'https://gitlab.common-lisp.net/antik/gsll/-/commit/f9157461c63bb149dcd9dd7e0f32af685c04cb0bComplete ntuple with test2009-08-26T21:22:47-04:00Liam Healyliam@thinkpad.local
Ported ntuple to cbinfo form with tests duplicating the GSL tests in
ntuple/test.c.https://gitlab.common-lisp.net/antik/gsll/-/commit/8555fb6a943a68f1bd873d4f53ca2317ef699d87List argument to defmobject :initialize-suffix2009-08-25T21:00:07-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/134470179badedeb748b936c74937665732192b7Added tests of minimization-one setting with values2009-08-24T22:55:33-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/4df83bcaa07c7cf1110c5838d4d2921ce15d5bafUse symbols to refer to modules in asd file2009-08-24T13:55:36-04:00Liam Healylnp@healy.washington.dc.us
ASDF definition of modules are with symbols, so the :depends-on
reference to those modules is also with symbols, not strings.https://gitlab.common-lisp.net/antik/gsll/-/commit/9990ee06aced29f13a4a836dae71dacc4630056eMultiple foreign functions in the reinitialize-instance for mobjects2009-08-23T21:09:51-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/453873365f349419fff9f8cb780c6b1490875b76Fix order of arguments in set-fminimizer-with-values2009-08-23T16:12:30-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/6f28764696702dc20b6e970329b5a8336a273d07Handle cflags in the grovel file2009-08-23T10:45:44-04:00Liam Healyliam@thinkpad.local
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.https://gitlab.common-lisp.net/antik/gsll/-/commit/9a311b1b003d5767445b03105786d0e86aff6b8dAdd include path for OSX2009-08-22T16:26:15-04:00Liam Healyliam@thinkpad.local
Darwin ports installs .h files under /opt/local/include/, so put -I
option onto cffi-grovel::*cc-flags*.https://gitlab.common-lisp.net/antik/gsll/-/commit/da35a0263827c1bc6cd61b48e7cb90d7ee0dec4dCondition defconstants with eval-when2009-08-22T15:24:09-04:00Liam Healyliam@thinkpad.local
The GSL condition code defconstants are now enclosed in an eval-when
so that they can be used later in the same file.https://gitlab.common-lisp.net/antik/gsll/-/commit/9d7a0de3e3c11a5794f5c8fb0c41cdf08c3dec02Complete histogramming test; not functioning2009-07-04T22:57:13-04:00Liam Healyliam@thinkpad.local
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*.https://gitlab.common-lisp.net/antik/gsll/-/commit/cd7c4e9436ef33ca3109181f2f9de5698ec09ebfAdd dependencies on libgsl2009-06-17T22:33:41-04:00Liam Healyliam@thinkpad.local
Some files in init depend on libgsl, so dependency is now given in
gsll.asd.https://gitlab.common-lisp.net/antik/gsll/-/commit/9c3b29568f3fd4ef7a5dff63208ae46e1d517593Add read test to ntuple2009-06-16T23:08:35-04:00Liam Healyliam@thinkpad.local
Add read test to ntuple, fix incorrect C form for open-ntuple, make
file names optional arguments to example functions.https://gitlab.common-lisp.net/antik/gsll/-/commit/4a0b932f79a0fb6c7533c53d5fe8f47d77de9c40Physical constants defined in GSL header files, merged2009-06-16T19:23:36-04:00Liam Healyliam@thinkpad.local
Merge branch 'physical-constants'https://gitlab.common-lisp.net/antik/gsll/-/commit/e0325df22c52e4ca33210ec825d47c970ff14df5Update CFFI version of dependency2009-06-16T12:31:12-04:00Liam Healylnp@healy.washington.dc.us
The CFFI-grovel with the double-float constants has been released in
version 0.10.5, update the documentation to reflect this.https://gitlab.common-lisp.net/antik/gsll/-/commit/f9de905a46f71010fde9c5b0e6f566754e5442b1ASDF load-op on cffi-grovel prior to defsystem2009-06-16T09:36:06-04:00Liam Healylnp@healy.washington.dc.us
ASDF load-op on cffi-grovel prior to defsystem so that
cffi-grovel:grovel-file works.https://gitlab.common-lisp.net/antik/gsll/-/commit/5ef7b2694d2573189c58c06a45dfbe593bdb388bConstants defined for conditions with eval-when2009-06-15T21:55:21-04:00Liam Healyliam@thinkpad.local
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).https://gitlab.common-lisp.net/antik/gsll/-/commit/354eb334f6d29775c2746b76bea63d15645c7380Add dependency on cffi-grovel2009-06-14T23:34:49-04:00Liam Healyliam@thinkpad.localhttps://gitlab.common-lisp.net/antik/gsll/-/commit/9f1f9900a14539c93a52be4ca598ded9ddd9f34bHand expansion of project-ntuple; start writing ntuple example2009-06-10T23:04:45-04:00Liam Healyliam@thinkpad.local
In order to avoid or defer the complicated process of modifying
defmfun definitions to handle two cbstructs, the definition of
project-ntuple has been written by hand as a defun etc., by expanding
a simpler defmfun and making the necessary modifications and mergers
with an editor. It has not yet been tested. The test given in GSL
ntuple/test.c is partially ported to Lisp.https://gitlab.common-lisp.net/antik/gsll/-/commit/a2ba427b37964202b4da609e5ee83659a0a6f668Fix multidimensional minimization with scalarsp2009-06-09T23:17:05-04:00Liam Healyliam@thinkpad.local
In the definition of multi-dimensional-minimizer-fdf, the dimensions
of the :output for df and fdf have been corrected by removing an extra
dim0. The parabaloid example has been implemented using scalars, and
the results match that of the vector form. A test has been added for
the scalar form.https://gitlab.common-lisp.net/antik/gsll/-/commit/a7a5f644d3abf128c69351e0d4fe0bff473e9ce4Port of ntuple to cbinfo form2009-06-09T22:23:49-04:00Liam Healyliam@thinkpad.local
In the previous conversion of callbacks, ntuple was somehow missed.https://gitlab.common-lisp.net/antik/gsll/-/commit/5386a5144ffc7fb6e5b2342cd71d3e313355ffcbGrovel physical constants using new CFFI-grovel2009-06-08T12:22:49-04:00Liam Healylnp@healy.washington.dc.us
Stelian Ionescu has modified CFFI-grovel to generate double-float
constants with :type double-float in constant. GSLL has been ported
to use that. This requires a version of CFFI which includes the patch
of Mon Jun 8 10:29:44 EDT 2009. It works, but until this has a
release number, it will stay out of the master GSLL branch.https://gitlab.common-lisp.net/antik/gsll/-/commit/d19cc67247b6cd95e65d881fb722927836a9ed7bAdd copyright statement2009-06-07T19:26:51-04:00Liam Healyliam@thinkpad.local
Add copyright statement to COPYING.https://gitlab.common-lisp.net/antik/gsll/-/commit/8c0e6eb70aed9d3fc8c7ab72c881217e6c3b01d6Define C structures using CFFI-grovel2009-06-06T17:14:56-04:00Liam Healyliam@thinkpad.local
Almost all GSL structures are now defined using CFFI-grovel, which
makes the code more robust should there be changes in GSL. The
exceptions are complex-float-c, complex-double-c, and
simulated-annealing-parameters; because these structures are used by
value, they need to be defined with fsbv:defcstruct at the present.https://gitlab.common-lisp.net/antik/gsll/-/commit/310c4a84344377e4e4b92f4af11a27a7bde7dac6Documentation fix reference and complete sentence2009-06-05T09:14:21-04:00Liam Healylnp@healy.washington.dc.ushttps://gitlab.common-lisp.net/antik/gsll/-/commit/c81c0f03f67721dd88322806082a813563bd0810Use row separator ^ in example2009-06-05T09:12:10-04:00Liam Healylnp@healy.washington.dc.us
Use row separator ^ in example in documentation index.html.