- Jan 25, 2011
-
-
Liam M. Healy authored
-
- Oct 03, 2010
-
-
Liam Healy authored
-
- 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 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.
-
- Jul 07, 2010
-
-
Liam Healy authored
The generic function #'copy now needs a keyword argument for the destination :grid-type. Eliminate unnecessary copy tests; these are better tested in grid as they didn't use any GSL functions.
-
Liam Healy authored
Since the copy generic function has been established in grid, eliminate copy-to-destination for arrays, mvectors, matrices.
-
- May 22, 2010
-
-
Liam Healy authored
Added chi-squared (which was not loaded at all), exponential, exponential-power, fdist, gamma-randist, tdist. Introduced new macros assert-posinf and assert-neginf to check for expected infinite results. Improved the automatic test converter and noted its known failings.
-
Liam Healy authored
Introduced a new macro #'assert-to-tolerance to be used in lisp-unit:define-test forms that takes three arguments: form expected-value tolerance. This replaces test-tol6 that was defined in tdist.lisp. Defined the tolerance constants +test-tol6+ the exact same way as GSL, but grovelling machine.h where GSL_DBL_EPSILON is defined.
-
- 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.
-
- 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.
-
- 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 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 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
Ported ntuple to cbinfo form with tests duplicating the GSL tests in ntuple/test.c.
-
- May 03, 2009
-
-
Liam Healy authored
All source code is now conditionalized so that FSBV is optional. If present, functions using complex scalars will work. If absent, GSLL will compile and load correctly, and all functions except those using complex scalars will work. The examples and tests are defined appropriately. Documentation on FSBV dependence has been added to index.html.
-
- Apr 30, 2009
-
-
Liam Healy authored
The BLAS matrix-product functions now work on complex arrays using FSBV, but there are no tests yet. New tests vector-set-all and matrix-set-all replace set-all tests with addition, and work for all types including complex using FSBV. Default optional argument marrays are initialized to 0. Polynomial evaluation with complex argument uncommented, but not yet working.
-
- Apr 16, 2009
-
-
Liam Healy authored
Thanks to Malcolm Reynolds and Tom Hermann, lisp-unit:numerical-equal is now a generic function, so in the new file test-unit/augment.lisp, a method has been defined to work on marrays. This now permits the direct comparison in tests of marrays, rather than looking at their CL equivalent with cl-array. So far the only test changed is vector-add.
-
- Mar 15, 2009
-
-
Liam Healy authored
Fixed a problem in #'matrix-product-dimensions reported by Norman Werner that prevented taking the product of non-square matrices, and added a test to check for the multiplication for all four element types supported. This revealed a problem in non-native marray initialization (found in CCL) which has been fixed by marking foreign-arrays :cl-invalid when neither :initial-contents nor :initial-element have been specified. SBCL 64: TOTAL: 1449 assertions passed, 7 failed, 0 execution errors. CCL64: TOTAL: 1450 assertions passed, 6 failed, 0 execution errors.
-
- Mar 11, 2009
-
-
Liam Healy authored
The unit/regression test lisp-unit has been split off into its own system. This includes the extensions made to it for GSLL, as modified by Thomas Hermann.
-
- Mar 08, 2009
-
-
Liam Healy authored
Incorporated tmh's lisp-unit definitions he posted to http://paste.lisp.org/display/76579 in preference to the former definitions in additional-definitions.lisp. He took some of those ideas and incorporated them with his own. This produces some mysterious errors not seen before when run on both SBCL and CCL (different errors for each). The plan is to spin off lisp-unit as a separate system which will just be loaded by gsll-tests.
-
- Feb 24, 2009
-
-
Liam Healy authored
Added tests from the GSL test suite for the discrete Hankel transform in dht/test.c translated into Lisp. They all check; GSL's testing routines allow for varying accuracy and they relax this (in some cases considerably) when known how inaccurate the result could be.
-
- Feb 17, 2009
-
-
Liam Healy authored
Functions added to GSL with version 1.10, and related changes: - Cholesky routines for complex matrices; Cholesky functions _solve and _svx (solution separate and in-place) now combined into a single generic function with an optional argument #'cholesky-solve. Unfortunately a default marray maker can't be included in the optional argument. - Correlation added, and covariance and correlation tests expanded to all supported matrix element types. - Added #'exponential-integral-En for nth-order exponential integral. - Also rewrote #'callback-set-slots and #'body-expand to eliminate gratuitous (progn nil ...) in some defmfun expansions. Test results: SBCL 64: TOTAL: 1379 assertions passed, 5 failed, 0 execution errors. CCL 64: TOTAL: 1380 assertions passed, 4 failed, 0 execution errors.
-
- Feb 16, 2009
-
-
Liam Healy authored
Added all Mathieu functions and tests that match the GSL tests.
-
- Feb 12, 2009
-
-
Liam Healy authored
The function #'copy will now copy contents between marrays and CL arrays. The destination array can be supplied literally, or created by this function by specifying the desired type: when copying from a marray to a CL array, specify 'array; when copying from a CL array to a marray, specify the element type of the marray. For example, (COPY (COPY (MAKE-MARRAY '(COMPLEX DOUBLE-FLOAT) :INITIAL-CONTENTS '((-34.5 8.24 3.29 -8.93 34.12 -6.15) (-8.93 34.12 -6.15 49.27 -13.49 32.5) (49.27 -13.49 32.5 42.73 -17.24 43.31))) 'ARRAY) '(COMPLEX DOUBLE-FLOAT)) copies from the matrix-complex-double-float made in the make-marray form to a CL array, then copies the contents to a new matrix-complex-double-float.
-
- 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
Placed missing #'mpointer calls, added :input declarations in defmfuns. Fixed #'spline-example to work correctly with marrays, and added a test.
-
- Jan 23, 2009
-
-
Liam Healy authored
The minimization functions may now take and return scalars or marrays. The examples take optional arguments with the solver method and whether to print the steps. They are now part of the #'examples and test suite. Use maref instead of cl-array in #'roots-multi-example-no-derivative. Add optional solver method to roots one and roots multi, and add tests for all solvers.
-
- Jan 22, 2009
-
-
Liam Healy authored
Add series accleration test, which succeeds in SBCL and fails in CCL. Minor cleanup.
-
- Jan 20, 2009
-
-
Liam Healy authored
Coverted required args to optional args defmfun weighted-linear-mfit and replaced 'parameters with 'parameters-or-size. Added print-steps options for several more examples, and put the newline at the end of the format string. Added tests; CCL 64 bit now fails one of the linear least squares (returns zeros) and the nonlinear least squares (good to 6 or so significant figures). SBCL 64: TOTAL: 1231 assertions passed, 5 failed, 0 execution errors. CCL 64: TOTAL: 1234 assertions passed, 2 failed, 0 execution errors.
-
- Jan 19, 2009
-
-
Liam Healy authored
More usage of callbacks using or computing multiple quantities now do so on scalars because the macros in GSLL pull out the individual elements of foreign arrays, and accept multiple values and put them into the right foreign arrays. In roots-multi, #'multiroot-slot takes a mobject and extracts the mpointer before calling the foreign slot value. Several examples in solve-minimize-fit now have optional 'print-steps argument. These examples are now the basis for additional tests.
-
Liam Healy authored
New definition for defmcallback will now convert C array pointers passed to the function by GSL into individual scalar arguments of the CL function, and will take multiple value returns and assign as elements of the return C arrays. Applied to def-ode-functions and the van der Pol oscillator example. Redefined #'maref-function-picker as a macro from a function, eliminating the need for an eval-when form.
-
- Jan 04, 2009
-
-
Liam Healy authored
GSL functions that operate from one corresponding array elements and then overwrite the first array, as well as those that operate on each element of an array with a scalar, are now named starting with "elt", as in "elt+"; formerely they started with "m". This is to reinforce the idea that they are not generally a mathematical solution to algebraic problems, just elementwise operations. The scalar operations (addition, multiplication) are methods of elt+ and elt* as well. Test results 64 bit: SBCL: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors. CCL: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors.
-
- Jan 01, 2009
-
-
Liam Healy authored
Both CLISP and SBCL fail when making arrays of 64 bit integers, despite cffi-features:no-long-long being absent for either. Therefore, conditionalize away these types in *array-element-types* on 32 bit platforms in general, and conditionalize away all the 64 bit tests as well. Separated out integer size check into types.lisp. Restored tests vector-min and vector-max which fail in SBCL for (signed-integer 8) and (signed-integer 16) for unknown reasons. Test results: 64 bit SBCL: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors. 64 bit CCL: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors. 32 bit SBCL: TOTAL: 1069 assertions passed, 31 failed, 0 execution errors. 32 bit CLISP: TOTAL: 1051 assertions passed, 27 failed, 5 execution errors.
-
- Nov 16, 2008
-
-
Liam Healy authored
Tests are now separated from examples and defined in a new system gsll-tests. Change name of condition 'input-error from 'EDOM.
-