1. 15 Jul, 2018 1 commit
  2. 08 Aug, 2016 1 commit
    • Liam M. Healy's avatar
      Remainder of GSL 2.0 API changes · 32bbd1aa
      Liam M. Healy authored
      This completes the first pass of changes so that GSLL will load with
      GSL 2.0 and above. It is not tested. It will still give an error when
      trying to load with GSL 2.
      32bbd1aa
  3. 07 Aug, 2016 1 commit
    • Liam M. Healy's avatar
      Use feature for GSL2; abort for now if present · 8ef71890
      Liam M. Healy authored
      Abort loading with explanation that GSLL does not yet work with GSL
      2. Replace incorrect combination of read-time evaluation and read-time
      feature with a regular read-time feature on the symbol :gsl2 for when
      support is completed.
      8ef71890
  4. 06 Aug, 2016 1 commit
    • Liam M. Healy's avatar
      Start API changes for GSL 2.0 · 2d3c6598
      Liam M. Healy authored
      Release 2.0 of the GSL library changed the API for many functions, and
      this means that the previous versions of GSLL will not load for this
      release of the library. This is a start at handling these changes, with
      an initial focus on permitting GSLL to load and not yet insuring that
      the changed defintions function correctly.
      
      There are two such updates made here:
      1) The elimination of multiple arguments in gsl_multifit_linear_svd, and
      consequently an internal change to #'linear-mfit-svd.
      2) The elimination of the argument n in gsl_sf_ellint_D_e and
      consequently in #'elliptic-integral-D.
      
      This report is helpful in identifying the GSL API changes:
      http://abi-laboratory.pro/tracker/compat_report/gsl/1.16/2.0/75ebf/abi_compat_report.html
      2d3c6598
  5. 27 Dec, 2014 1 commit
  6. 02 Jan, 2013 1 commit
  7. 13 Jan, 2012 1 commit
  8. 03 Jan, 2012 1 commit
    • Liam M. Healy's avatar
      Optional index arrays for sort-smallest-index, sort-largest-index · 7151b5bb
      Liam M. Healy authored
      Arguments simplified in sort-smallest-index, sort-largest-index;
      output array is optional and may be specified by size.  Docstrings
      made accurate.  Previous versions selected only the first n part of
      the unsorted array.  Other functions in this file could benefit from
      similar changes, but the changes have not been made because of the
      existence of tests.
      7151b5bb
  9. 25 Nov, 2011 1 commit
  10. 30 Oct, 2011 1 commit
    • Liam M. Healy's avatar
      Foreign structure with CFFI's new syntax · 18e08e4e
      Liam M. Healy authored
      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.
      18e08e4e
  11. 29 Oct, 2011 1 commit
    • Liam M. Healy's avatar
      Fix sf-result* definitions, eliminate ffexpand, fsbv:object · 121e475d
      Liam M. Healy authored
      Fix sf-result and sf-result-e10 translation methods, and use in
      complex-with-error and values-with-errors.  Some usage in gamma.lisp
      updated, but there will be a need to replace sf-result with (:struct
      sf-result) in all declarations for many special functions.
      
      I removed ffexpand and everything it depended on because there is no
      reason to make a side defcfun for call-by-value functions, and if FSBV
      is missing CFFI already emits an error.  All usage of fsbv:object and
      any thing from the FSBV package is now gone.
      121e475d
  12. 24 Oct, 2011 1 commit
    • Liam M. Healy's avatar
      Eliminate fsbv:object for built-in types · 639a5f35
      Liam M. Healy authored
      Eliminate fsbv:object for built-in types; started conversion of
      special function result (sf-result*) structures but this requires a
      modification to CFFI.  Simulated annealing structure called by value.
      Use cffi-fsbv's sizet definition; this imposes a dependence on that
      system.  No compilation attempted yet.
      639a5f35
  13. 13 Jan, 2011 1 commit
  14. 10 Jan, 2011 2 commits
    • Liam M. Healy's avatar
      9fc8126d
    • Liam M. Healy's avatar
      Shadow symbols from antik · 80544fee
      Liam M. Healy authored
      With the export of unit and dimension names, there are conflicts with
      gsl:psi, gsl:acceleration, gsl:knots.  There is no actual conflict in
      the usage because Antik physical quantities only needs to use these
      symbols as symbols, there is no binding.  So they are now
      shadowing-imported into gsll.  
      
      Added explicit "d0" to numbers in polynomial to insure they are read
      as double-floats.
      80544fee
  15. 19 Dec, 2010 2 commits
  16. 04 Dec, 2010 1 commit
  17. 08 Aug, 2010 1 commit
    • Liam Healy's avatar
      Replace 'pi with 'dpi, the double-float version · 7aa0111c
      Liam Healy authored
      The standard declares that 'pi is an implementation-dependent
      long-float, but GSL requires double float, so the constant 'dpi has
      been defined as (coerce pi 'double-float).  This should make CLISP at
      the least happier.
      7aa0111c
  18. 15 Jul, 2010 1 commit
  19. 07 Jul, 2010 1 commit
  20. 30 Jun, 2010 1 commit
  21. 27 Jun, 2010 1 commit
  22. 01 Jun, 2010 1 commit
    • 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
  23. 30 May, 2010 1 commit
  24. 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
  25. 14 Apr, 2010 1 commit
    • 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
  26. 27 Dec, 2009 1 commit
  27. 21 Dec, 2009 1 commit
    • Liam Healy's avatar
      Move symbol-type and number-conversion to grid · ce261d71
      Liam Healy authored
      Move number-conversion.lisp from init/ to grid/ and symbol-type
      portion of init/interface.lisp to grid/symbol-type.lisp.
      All tests pass
      TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
      ce261d71
  28. 14 Nov, 2009 1 commit
  29. 23 Aug, 2009 1 commit
    • Liam Healy's avatar
      Handle cflags in the grovel file · 6f287646
      Liam Healy authored
      Handle conditional cflags in the grovel file instead of modifying the
      cffi-grovel::*cc-flags* variable.  Also use strings for depends-on
      in asdf file.
      6f287646
  30. 06 Jun, 2009 1 commit
    • Liam Healy's avatar
      Define C structures using CFFI-grovel · 8c0e6eb7
      Liam Healy authored
      Almost all GSL structures are now defined using CFFI-grovel, which
      makes the code more robust should there be changes in GSL.  The
      exceptions are complex-float-c, complex-double-c, and
      simulated-annealing-parameters; because these structures are used by
      value, they need to be defined with fsbv:defcstruct at the present.
      8c0e6eb7
  31. 25 May, 2009 2 commits
    • Liam Healy's avatar
      Use CFFI-grovel to define enumerations and programming constants · 5b255beb
      Liam Healy authored
      Instead of hardwiring GSL's #define or enum values, define them in
      init/libgsl-unix.lisp and run CFFI-grovel on them.  This has the
      advantage that if these values change in GSL, GSLL will automatically
      get the new values; also, there was an error in the 'integrate-method
      enum due to an incorrect starting value.  It has the disadvantage that
      building GSLL now requires a C compiler and some of the header (.h)
      files for GSL.  Also, it's not clear what the form for libgsl-*.lisp
      files are for non-unix OSes.
      5b255beb
    • Liam Healy's avatar
      Generic function #'size replaces #'total-size for marrays · 938ae6d6
      Liam Healy authored
      Use #'size instead of #'total-size for marrays.
      938ae6d6
  32. 27 Apr, 2009 1 commit
    • Liam Healy's avatar
      Redeclare foreign-allocated variables called by reference · 9848c6ad
      Liam Healy authored
      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.
      9848c6ad
  33. 04 Mar, 2009 1 commit
  34. 02 Mar, 2009 1 commit
    • Liam Healy's avatar
      Bessel function consolidation and rename · 0daffee9
      Liam Healy authored
      Integer and fractional order Bessel functions renamed to be methods of
      the same generic function (for J and Y).  Name the array function
      analogously (-x, -order) so it is clear what is changing.  Fix
      docstring phrasing for Hankel.
      0daffee9
  35. 20 Feb, 2009 1 commit
    • Liam Healy's avatar
      Unify linear-mfit; Airy tests from GSL · ed9a001e
      Liam Healy authored
      The linear multi-parameter fitting functions with and without SVD have
      been unified into one function #'linear-fit; the weighted and
      unweighted functions have already been unified.  If tolerance is
      non-nil (double-float) the SVD functions will be called.
      
      Tests of the Airy functions have been replaced by those in GSL's
      gsl-1.11/specfunc/test_airy.c and agree.  Test totals now:
      SBCL 64: TOTAL: 1440 assertions passed, 5 failed, 0 execution errors.
      CCL 64:  TOTAL: 1441 assertions passed, 4 failed, 0 execution errors.
      ed9a001e
  36. 17 Feb, 2009 1 commit
    • Liam Healy's avatar
      GSL features added in version 1.10 · 94413b43
      Liam Healy authored
      Functions added to GSL with version 1.10, and related changes: 
      - Cholesky routines for complex matrices; Cholesky functions _solve and
      _svx (solution separate and in-place) now combined into a single
      generic function with an optional argument #'cholesky-solve.
      Unfortunately a default marray maker can't be included in the optional
      argument.
       - Correlation added, and covariance and correlation tests expanded to
      all supported matrix element types.
       - Added #'exponential-integral-En for nth-order exponential integral.
       - Also rewrote #'callback-set-slots and #'body-expand to eliminate
      gratuitous (progn nil ...) in some defmfun expansions.
      Test results:
      SBCL 64: TOTAL: 1379 assertions passed, 5 failed, 0 execution errors.
      CCL 64: TOTAL: 1380 assertions passed, 4 failed, 0 execution errors.
      94413b43
  37. 16 Feb, 2009 1 commit