- 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 M. Healy authored
Remove change-class for permutation and combination because now initialize-instance for grid:foreign-array will not try to change the class from what is being made in make-instance.
-
Liam Healy authored
-
Liam Healy authored
-
- Jun 28, 2010
-
-
Liam M. Healy authored
Eliminate contents-from-pointer because GSLL won't use bare pointers anymore.
-
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.
-
Liam Healy authored
New function #'make-foreign-array-from-gsl-pointer allows construction of a foreign-array with the appropriate metadata when given the mpointer. It has not been tested. Its main use will be in GSL routines that create their own GSL vector (or matrix); previously those were copied from the pointer, now they are just wrapped with the appropriate GSLL object. File renamed to "foreign-array.lisp" from "marray.lisp".
-
Liam Healy authored
Eliminate marray class and use new foreign-array subclasses. Porting of code in this file partially complete.
-
- Jun 26, 2010
-
-
Liam Healy authored
-
- Jun 25, 2010
-
-
Liam Healy authored
-
- Jun 10, 2010
-
-
Liam M. Healy authored
The expansion of a foreign structure-by-value function did not substitute the foreign function name. It turns out this didn't matter because cffi::parse-name-and-options used by fsbv:defcfun simply ignored the symbol 'GSL-NAME for the foreign function name and pulled the actual name out of the symbol-name for the Lisp symbol of the function name. This fix makes it clearer in the macroexpansion however.
-
- Jun 08, 2010
-
-
Liam M. Healy authored
Dependencies line for clbuild is now fixed; tests count and source.
-
- Jun 06, 2010
-
-
Liam Healy authored
The :cl-array argument to make-marray is obsolete and has been eliminated; the :data argument has replaced it (the argument must have been make by c-array:make-ffa). Added initial-element and initial-contents arguments to grid:make-grid-data method.
-
- Jun 02, 2010
-
-
Liam M. Healy authored
-
Liam M. Healy authored
The gamma tests that were failing under Debian Lenny/SBCL 1.0.18/GSL 1.11 pass under Debian squeeze/SBCL 1.0.36.25/GSL 1.14, so they are now uncommented. The exponential-function test that failed in the first case passes in the second. TOTAL: 4062 assertions passed, 2 failed, 0 execution errors.
-
Liam Healy authored
The macro #'assert-to-tolerance was not correct but now maps to sf-check-results. The order of arguments in the sf-frac-diff call in sf-check-single has reversed to match test_sf_check_result in the GSL code. The remaining exponential-function tests have been ported except for the one involving gsl_sf_exprel_n_CF_e which hasn't been ported. All the tests except one pass.
-
- Jun 01, 2010
-
-
Liam M. Healy authored
Fixed the argument order to an exponential-functions test. Error estimates used in special function calculations are optional in sf-check-results. There is an exponential-functions test which fails even though it is identical to a GSL test; commented out.
-
Liam M. Healy authored
-
Liam Healy authored
The return value from #'exp-err-scaled should be sf-result-e10, now fixed. Test macros renamed, made to match their corresponding GSL versions better, and moved to augment.lisp. Some of the GSL exponential function tests are now ported, and two fail.
-
- May 30, 2010
-
-
Liam Healy authored
-
Liam Healy authored
The special function tests now match much better the GSL (C) tests, and the gamma function tests ported from C all pass except for a few. These few also fail in small C program tests, but for some reason pass in the GSL "make check" test.
-
- May 28, 2010
-
-
Liam Healy authored
The special function test for gamma from GSL are in place, and 32 fail, some by a substantial amount. Some are commented out.
-
- May 27, 2010
-
-
Liam M. Healy authored
Modified the parser converter for semi-automatic conversion of GSL tests for gamma special function. Still need some work to handle multiple values.
-
Liam Healy authored
-
- May 26, 2010
-
-
Liam M. Healy authored
The cl-ppcre C float parser is matching to nothing because there's no single part of a float that is required; d. .d and d all possible, so none of digit-before-decimal, decimal, or digit-after-decimal are required. Workaround is to check for length of 'mant and just return the string if it's zero.
-
Liam M. Healy authored
-
Liam Healy authored
Split convert-gsl-test into multiple function calls for modularity. Improve number parsing, still a work in progress. Arguments may be selected.
-
- May 25, 2010
-
-
Liam Healy authored
Rewrote testpdf so that it takes a function of the random variable, and the list of distribution name and keyword-argument pair. Added new tests levy and exponential-power; several more (beta, chi-squared, exponential) written but commented out because they take an unreasonably long time to complete; these require further investigation.
-
- May 24, 2010
-
-
Liam Healy authored
Convert the tests from cdf/test_auto.c for random distribution; this now gives a total number of tests more than 3600: TOTAL: 3644 assertions passed, 5 failed, 2 execution errors.
-
- May 23, 2010
-
-
Liam Healy authored
-
- 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
The tests for #'ugaussian-p, #'ugaussian-q, #'ugaussian-pinv, #'ugaussian-qinv are automatically converted from the GSL tests instead of converted from the examples.
-
Liam Healy authored
Convert the cdf/test.c GSL test file to a list of CL forms. This requires cl-ppcre and iterate, and is not normally loaded with either gsll or gsll-tests.
-
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.
-
- Apr 26, 2010
-
-
Liam M. Healy authored
-
Liam Healy authored
In the nonlinear least squares solver, make 'covariance an optional argument to #'ls-covariance. Make the first argument the solver object instead of a pointer, so the jacobian is computed before being passed to the foreign function.
-
Russell Kliese authored
Fixed nonlinear least squares fitting to allow its use outside the gsl package * Updated fit-test-delta function to take take the solver object in order to avoid passing it raw pointers * Exported the jacobian function
-
Liam Healy authored
-