1. 15 Jul, 2018 1 commit
  2. 16 Feb, 2014 1 commit
  3. 10 Feb, 2014 1 commit
  4. 22 Jan, 2014 1 commit
  5. 10 Jan, 2011 1 commit
  6. 23 Aug, 2010 1 commit
    • Liam Healy's avatar
      Fix FFT to actually do something, but comment out because of failures · b7859a14
      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.
      b7859a14
  7. 21 Jul, 2010 1 commit
    • Liam M. Healy's avatar
      Update status.text, last element of list · 4533e1be
      Liam M. Healy authored
      Update status.text mostly be removing obsolete information without
      replacing it with current information.  Use alexandria:lastcar for the
      last element of list so I do not use private definitions (non-loaded
      source).
      4533e1be
  8. 07 Jul, 2010 1 commit
  9. 30 Jun, 2010 1 commit
  10. 02 Jun, 2010 1 commit
    • 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 2 commits
    • Liam M. Healy's avatar
      Fix argument order, optional error estimate for tests · 0f161980
      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.
      0f161980
    • Liam Healy's avatar
      Fix return from #'exp-err-scaled, rename/move test macros · 6f686bab
      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.
      6f686bab
  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. 24 May, 2010 1 commit
  17. 23 May, 2010 1 commit
    • Liam Healy's avatar
      Simplified paths to the foreign libraries; use gsl-config for header · 610e8dc2
      Liam Healy authored
      The paths to the foreign libraries have been simplified, making use of
      CFFI's statement "Most, if not all, Lisps supported by CFFI have a
      reasonable default search algorithm for foreign libraries."
      Therefore, the paths have been eliminated.  If they need to be added,
      this should be done by modifying the variable
      cffi:*foreign-library-directories*.  The header files location set
      with cc-flags for Darwin has been changed to use (gsl-config "--cflags").
      610e8dc2
  18. 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
  19. 27 Dec, 2009 1 commit
  20. 17 Nov, 2009 1 commit
    • Liam Healy's avatar
      Split fft-noise test into FFT and DFT; test generation with supplied answer · 999255fe
      Liam Healy authored
      The FFT noise test test-fft-noise calls a new split-out function
      forward-fft-rc as well as the DFT "answer".  In preparation for the
      generation of the test files, several functions in generate-tests.lisp
      have been modified to accept a known answer, in lieu of evaluating the
      form and saving that as the reference.
      999255fe
  21. 30 Apr, 2009 1 commit
  22. 16 Apr, 2009 1 commit
    • Liam Healy's avatar
      Tests marrays directly · 64a0b6c2
      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.
      64a0b6c2
  23. 17 Mar, 2009 1 commit
  24. 08 Mar, 2009 1 commit
    • Liam Healy's avatar
      Use tmh's lisp-unit definitions instead of old · f1dfef7b
      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.
      f1dfef7b
  25. 27 Jan, 2009 1 commit
    • Liam Healy's avatar
      Non-native and :callback-toplevel-only fixes · 86da4ec7
      Liam Healy authored
      Fixed several bugs that affected non-native implementations, where
      :inputs, :outputs, or both were not properly declared.  According to
      the CFFI manual, "Portability note: defcallback will not work
      correctly on some Lisps if it's not a top-level form." Evidently, this
      includes Clozure CL, so a new symbol :callback-toplevel-only has been
      pushed onto *features* if openmcl.  This changes examples with
      callbacks to define the callbacks in a separate defparameter rather
      than in-line when the mobject is made of the function is called.  As a
      result of both these changes, the only errors left in CCL tests were
      ones seen previously.  
      CCL 64: TOTAL: 1259 assertions passed, 3 failed, 0 execution errors.
      SBCL 64: TOTAL: 1257 assertions passed, 5 failed, 0 execution errors.
      86da4ec7
  26. 04 Jan, 2009 1 commit
    • Liam Healy's avatar
      Elementwise array operations named "elt" · 4bfa337d
      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.
      4bfa337d
  27. 27 Dec, 2008 1 commit
    • Liam Healy's avatar
      Set mpointer vlaue, show relevant .h file; non-int return for reinitialize-instance · 8a0ac730
      Liam Healy authored
      In defmobject, set the mpointer value if #'allocate is being called.
      For each file that defines a defmobject, I put a comment at the top
      showing the relevant GSL header file.  For generators and quasi, the
      (re)initializing function returns void and not an :int, so that is
      changed in the defmobject definition, which now permits a list of two
      elements in initialize-suffix, with the second element indicating the
      :c-return.
      8a0ac730
  28. 16 Nov, 2008 1 commit