Skip to content
Snippets Groups Projects
  1. Jul 13, 2010
    • Liam M. Healy's avatar
      Arrays passed to and received from callbacks are foreign-arrays · 13703fa9
      Liam M. Healy authored
      Using the new function faify-form, pointers passed by GSL to callbacks
      are converted to foreign-array objects if scalarsp is nil.  This has
      been tested on multidimensional minimization only so far, and works.
      Note that this is potentially inefficient, as each time the callback
      is called, new objects are made and in the callback itself any grefs
      involve a generic function dispatch.  However, it is easier to write
      the callback than dealing with the raw pointer.
      13703fa9
    • Liam Healy's avatar
      Use get-value in callback generation · 336f1ceb
      Liam Healy authored
      The functions get-value and (setf get-value) are now used in
      #'reference-foreign-element for scalarsp.  They are also used as a
      demonstration for vector callbacks in minimization-multi, but perhaps
      a better interface could be constructed.
      336f1ceb
  2. Jul 12, 2010
  3. Jul 11, 2010
  4. Jul 08, 2010
  5. Jul 07, 2010
  6. Jul 02, 2010
  7. Jul 01, 2010
  8. Jun 30, 2010
  9. Jun 29, 2010
  10. Jun 28, 2010
  11. Jun 27, 2010
    • 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
  12. Jun 26, 2010
  13. Jun 25, 2010
  14. Jun 10, 2010
    • 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
  15. Jun 08, 2010
  16. Jun 06, 2010
    • 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
  17. Jun 02, 2010
    • 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
  18. Jun 01, 2010
  19. May 30, 2010
Loading