Skip to content
Snippets Groups Projects
  1. May 23, 2010
  2. May 22, 2010
    • 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
  3. Apr 26, 2010
  4. Apr 20, 2010
  5. Apr 18, 2010
  6. Apr 17, 2010
  7. Apr 15, 2010
  8. Apr 14, 2010
    • Liam M. Healy's avatar
      Correct return values from jacobian-elliptic-functions; add tests · aa68fe67
      Liam M. Healy authored
      The GSL function gsl_sf_elljac_e writes sn, cn, dn values to doubles
      for which the pointer has been passed in, as shown in
      /usr/include/gsl/gsl_sf_elljac.h, and not to sf-result as one might be
      led to conclude from the "_e" at the end of the name.  This is now
      fixed in GSLL, so that the tests, which sometimes passed and sometimes
      didn't depending on what was run before it, now should always work.
      The single non-error test been replaced by the 35 GSL tests in
      gsl/specfunc/test_sf.c, and they all pass in SBCL Linux AMD64.
      aa68fe67
  9. Apr 10, 2010
    • Liam Healy's avatar
      Use CL RNG object, and not the foreign pointer in simulated annealing · 49cb0c32
      Liam Healy authored
      Jame Wright pointed out that the function trivial-example-step tried
      to apply the function #'sample to what turns out to be a foreign
      pointer, but it should take a CL object.  This is because we are
      making a random number generator, passing the foreign pointer to GSL,
      and then it is passing that pointer back to our routines so that we
      can use it in the step function.  This has been changed so that there
      is a special variable cl-generator which is bound to the CL object in
      #'simulated-annealing, and then used in the step function, while the
      foreign pointer being returned to us is ignored.
      49cb0c32
  10. Apr 05, 2010
  11. Mar 28, 2010
  12. Mar 14, 2010
  13. Feb 07, 2010
  14. Feb 05, 2010
  15. Jan 20, 2010
  16. Jan 19, 2010
  17. Jan 17, 2010
  18. Jan 03, 2010
  19. Jan 01, 2010
  20. Dec 28, 2009
  21. Dec 27, 2009
  22. Dec 26, 2009
    • Liam Healy's avatar
      Be strict on initial marray values; default marrays · 2a6a743f
      Liam Healy authored
      Removed some marrays marked as :input when their values were not used.
      This failed in CCL because the arrays in those cases were created with
      no initial values, and no values were set, so that they were marked
      cl-invalid.  Created #'make-marray-or-default to facilitate defaulting
      of marrays in defmfun, and marking validity appropriately.
      Test results:
      SBCL 64:
      TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
      CCL 64:
      TOTAL: 1620 assertions passed, 13 failed, 0 execution errors.
      2a6a743f
    • Liam Healy's avatar
      Use symbols exported from c-array · a13502c2
      Liam Healy authored
      Some symbols that were formerly in the GSLL package and now are in
      c-array need to imported from that package.  This only affects
      non-native implementation and so was discovered in trying to compile
      in CCL.  There are still too many test failures in CCL.
      a13502c2
  23. Dec 25, 2009
  24. Dec 24, 2009
    • Liam Healy's avatar
      Remove grid to the gsd/c-array repository · c75e91d2
      Liam Healy authored
      The grid subdirectory is now the c-array system within the GSD
      repository, as it has no GSL-dependent definitions and is potentially
      useful on its own for other C libraries.  There is a bare minimum
      mention of GSD in the documentation, which needs to be enhanced as it
      is required for GSLL to compile/load.
      c75e91d2
  25. Dec 23, 2009
    • Liam Healy's avatar
      Replace create-matrix and constant-matrix using grid functions · e48ba0cb
      Liam Healy authored
      Replace create-matrix and constant-matrix by using the grid functions
      grid:map-grid and grid:make-grid; eliminate create-vector because
      vectors can be generated with create-matrix and using nil for the
      second dimension argument.  In the grid:make-grid-data method for
      make-marray, the first argument, which is the element type, needs to
      be extracted from the rest spec with a newly-changed
      grid:spec-scalar-p because compound types like (complex double-float)
      were not being recognized as element types.
      e48ba0cb
  26. Dec 22, 2009
    • Liam Healy's avatar
      Integrate marrays into grid · 1a4cb94f
      Liam Healy authored
      The GSLL marrays now function correctly as instances of grid:grid; for
      example, (grid:transpose *m35*) works.  All previous tests pass in
      SBCL.
      1a4cb94f
    • Liam Healy's avatar
      Use slot 'grid:data instead of superfluous slot 'cl-array · 7b6dea21
      Liam Healy authored
      The grid definitions supply the slot 'grid:data which can be used for
      CL array storage for marrays.  In order for a combination of zero
      dimension (k) to be made, there is an ignore-errors around the
      make-affi in initialize-instance :after for foreign-array.
      7b6dea21
Loading