1. 16 Jun, 2016 1 commit
    • Added definitions in GSL 1.13 · 80875db6
      Added definitions to GSLL for new definitions in GSL 1.13:
      These additions compile cleanly, only evaluate-with-derivatives has been
      This completes the port to GSLL of new definitions in GSL 1.13
      as given in the GSL changelog.
      Liam M. Healy authored
  2. 27 Dec, 2014 1 commit
  3. 13 Jan, 2012 1 commit
  4. 30 Oct, 2011 1 commit
    • Foreign structure with CFFI's new syntax · 18e08e4e
      Specify the foreign structures with CFFI's new syntax, (:struct foo),
      and fix #'creturn-st so that it will not take :struct (or any other
      keyword) as a return variable name.  GSLL now compiles and loads
      without error or warning, but it has not been tested.
      Liam M. Healy authored
  5. 10 Jan, 2011 2 commits
  6. 07 Jul, 2010 2 commits
  7. 30 Jun, 2010 2 commits
  8. 27 Jun, 2010 1 commit
  9. 27 Dec, 2009 1 commit
  10. 08 Dec, 2009 1 commit
    • Split off grid directory · 8d5cd4a5
      Eventually, the definitions used for dealing with types and foreign
      arrays that aren't specific to GSL will be split off into another
      system, so that it will be easier to build other foreign library
      interfaces using these definitions.  As a start, the grid/ directory
      defines a package 'c-array and some of the type definitions formerly
      in init/.  Everything compiles and tests as before, on SBCL
      TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
      Liam Healy authored
  11. 25 May, 2009 1 commit
  12. 03 May, 2009 2 commits
    • Conditionalize FSBV · 8a08f552
      All source code is now conditionalized so that FSBV is optional.  If
      present, functions using complex scalars will work.  If absent, GSLL
      will compile and load correctly, and all functions except those using
      complex scalars will work.  The examples and tests are defined
      appropriately.  Documentation on FSBV dependence has been added to
      Liam Healy authored
    • Call GSL functions with complex scalars · 0ca58836
      With improved fsbv:foreign-funcall that does the conversion of values
      between Lisp and C, the function foreign-funcall-indirect has been
      eliminated in favor of using fsbv:foreign-funcall directly.  Spot
      checks on various functions that use complex scalars like #'evaluate
      polynomials at a complex point, or set-all on complex marrays, or the
      functions in complex.lisp, show that these all work.  Everything
      compiles/loads and the usual tests pass in SBCL.
      Liam Healy authored
  13. 30 Apr, 2009 1 commit
    • Use FSBV for functions taking complex scalars · 913040d8
      The BLAS matrix-product functions now work on complex arrays using
      FSBV, but there are no tests yet.  New tests vector-set-all and
      matrix-set-all replace set-all tests with addition, and work for all
      types including complex using FSBV.  Default optional argument marrays
      are initialized to 0.  Polynomial evaluation with complex argument
      uncommented, but not yet working.
      Liam Healy authored
  14. 28 Apr, 2009 1 commit
  15. 27 Apr, 2009 1 commit
    • Redeclare foreign-allocated variables called by reference · 9848c6ad
      Variables called using with-foreign-objects that are passed to GSL for
      the purposes of returning computed values (i.e., are not mentioned in
      the CL arglist) need to be declared (:pointer type) because they are
      calls by reference.  Everything now compiles though there are
      execution errors in the tests.
      Liam Healy authored
  16. 03 Apr, 2009 1 commit
    • Polynomial order of and optional arguments; added tests from GSL · 26a5e307
      Change the order of arguments to #'divided-difference and
      #'taylor-divided-difference in order to make 'dd in the first case and
      'coefficients and 'workspace in the second case optional arguments.
      Added all the tests from gsl-1.11/poly/test.c; results agree with the
      values stated there.  Complete test results:
      SBCL64: TOTAL: 1483 assertions passed, 5 failed, 0 execution errors.
      CCL64:  TOTAL: 1486 assertions passed, 2 failed, 0 execution errors.
      Liam Healy authored
  17. 01 Feb, 2009 1 commit
    • Polynomial uses #'evaluate · cbcc15dd
      Polynomial evaluation is now done with a method of #'evaluate.  We
      can't do complex evaluation because the return value would be complex,
      and there is no way to handle that in CFFI yet.  Evaluation with
      divided differences is a keyword switched part of the same method; it
      works but gives an puzzling style warning in SBCL about the keyword.
      The use of an marray in an optional/key argument necessitated a change
      to defmfun that redefined #'body-expand from #'body-no-optional-arg,
      made #'body-no-optional-arg a new function that wraps necessary
      array-handling forms around the expanded unswitched body form from
      Liam Healy authored
  18. 31 Dec, 2008 2 commits
    • Redesign polynomial-solve, invert matrix · 4f581352
      The function #'polynomial-solve is now directly defined with defmfun
      with a single required argument and two optional arguments: the answer
      vector-complex-double-float and the workspace, both of which default
      to the right thing.  The returned is now the this marray instead of a
      list.  Simplify the definition of #'invert-matrix and return the
      matrix-double-float instead of the CL array.  All tests pass SBCL and
      CCL with trace.
      Liam Healy authored
    • Specify :inputs and :outputs; CCL works · 54353bcb
      More :inputs and :outputs specified.  CCL now passes all 1208 tests if
      certain functions are traced (bug in CCL?)
      (trace polynomial-eval-divided-difference swap-elements
             permutation-reverse lu-invert permutation-next)
      Liam Healy authored
  19. 27 Dec, 2008 1 commit
    • Set mpointer vlaue, show relevant .h file; non-int return for reinitialize-instance · 8a0ac730
      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
      Liam Healy authored
  20. 26 Dec, 2008 3 commits
  21. 25 Dec, 2008 1 commit
  22. 07 Dec, 2008 1 commit
  23. 01 Dec, 2008 1 commit
    • GSL array making with make-array* and #m · 83cd8040
      GSL arrays are garbage-collected objects, and so can be made like any
      other lisp object; they do not need to be make inside a wrapper form.
      #m is a macro which makes them; it expands to a #'make-array* call.
      Examples and usage ported to this new form.  Compiled only; not tested
      yet.  No effort to port to non-native implementation yet; tests as
      expanded in the tests/ directory are not ported yet.
      Liam Healy authored
  24. 25 Oct, 2008 1 commit
  25. 15 Sep, 2008 1 commit
    • Restore some tests · fe339ae4
      Multiple fixes to restore tests: change to #'cl-array from #'data, use
      #'a macro, comment out a few tests do defer repair until later.  Two
      errors in definitions of functions in
      histogram/updating-accessing.lisp fixed.  Some uncommented-out test
      failures remain.
      Liam Healy authored
  26. 25 Jul, 2008 4 commits
  27. 24 Feb, 2008 1 commit
  28. 18 Feb, 2008 1 commit
  29. 16 Feb, 2008 1 commit
  30. 06 Feb, 2008 1 commit