1. 30 Jun, 2010 1 commit
  2. 29 Jun, 2010 4 commits
  3. 28 Jun, 2010 3 commits
  4. 27 Jun, 2010 3 commits
    • Liam Healy's avatar
      Mass renames in grid and foreign-array systems · e5d36a1b
      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.
      e5d36a1b
    • Liam Healy's avatar
      New function #'make-foreign-array-from-gsl-pointer untested · 78b25a17
      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".
      78b25a17
    • Liam Healy's avatar
      Eliminate marray class · bf01ac03
      Liam Healy authored
      Eliminate marray class and use new foreign-array subclasses.  Porting
      of code in this file partially complete.
      bf01ac03
  5. 26 Jun, 2010 1 commit
  6. 25 Jun, 2010 1 commit
  7. 10 Jun, 2010 1 commit
    • Liam M. Healy's avatar
      Fix fsbv:defcfun call · 451bceda
      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.
      451bceda
  8. 08 Jun, 2010 1 commit
  9. 06 Jun, 2010 1 commit
    • Liam Healy's avatar
      Eliminate :cl-array argument to make-marray · 3f62c7f6
      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.
      3f62c7f6
  10. 02 Jun, 2010 3 commits
    • Liam M. Healy's avatar
      a944009d
    • Liam M. Healy's avatar
      All gamma tests uncommented · 9f12e41e
      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.
      9f12e41e
    • Liam Healy's avatar
      Fix assert-to-tolerance; remaining exponential-function tests ported · c26f7f8e
      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.
      c26f7f8e
  11. 01 Jun, 2010 3 commits
  12. 30 May, 2010 2 commits
  13. 28 May, 2010 1 commit
    • Liam Healy's avatar
      Tests for gamma special function · 5ebd8df9
      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.
      5ebd8df9
  14. 27 May, 2010 2 commits
  15. 26 May, 2010 3 commits
  16. 25 May, 2010 1 commit
    • Liam Healy's avatar
      New random sample tests; rewrite testpdf · ff9126d9
      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.
      ff9126d9
  17. 24 May, 2010 1 commit
  18. 23 May, 2010 1 commit
  19. 22 May, 2010 4 commits
    • Liam Healy's avatar
      Added tests from GSL for more random distributions · a5476401
      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.
      a5476401
    • Liam Healy's avatar
      Replace random/gaussian tests with GSL tests · e9017ff3
      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.
      e9017ff3
    • Liam Healy's avatar
      Convert GSL test file to a list of CL forms · 14968147
      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.
      14968147
    • Liam Healy's avatar
      New macro assert-to-tolerance and constants defining tolerances · 039d1089
      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.
      039d1089
  20. 26 Apr, 2010 3 commits