1. 01 Jan, 2017 1 commit
    • Liam M. Healy's avatar
      New argument to defmobject · dd2e7673
      Liam M. Healy authored
      Add key argument :initialize-when-making to defmobject, which controls
      whether initialization (by calling reinitialize-instance or some other
      function) happens when the make-* function defined by this macro is
      called. Choices are
        T=yes always
        NIL=no
        :default-T=optional (default T)
        :default-NIL=optional (default NIL)
      and the default is T to be consistent with previous behavior.
      
      This is used in the newly defined defmobject 'permutation.
      dd2e7673
  2. 20 Nov, 2016 1 commit
    • Liam M. Healy's avatar
      Load GSL lib v19 in preference to v0 · cb9c6bfd
      Liam M. Healy authored
      Load GSL library version 19 (libgsl.so.19) in preference to version 0,
      if it is available. This version, corresponding to GSL 2.0+, loads but
      functions whose API changed have not been tested. This required a fix to
      have-at-least-gsl-version which was incorrectly comparing version
      numbers.
      cb9c6bfd
  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. 15 Jun, 2016 1 commit
  6. 12 Jun, 2016 1 commit
    • Liam M. Healy's avatar
      Add Monte Carlo parameter setting · bcde4754
      Liam M. Healy authored
      With GSL 1.13, the GSL API defines a way to set the parameters for the
      MISER and VEGAS Monte Carlo methods. This commit defines two generic
      functions, #'parameter and #'(setf parameter), to get and set the
      parameters, respectively.  It loads but has not been tested.
      
      The previous way of setting the parameters, with macros
      > #'miser-parameter and #'vegas-parameter, are conditional to
      > #+obsolete-gsl and so do not normally load.
      bcde4754
  7. 06 Dec, 2015 1 commit
    • Liam M. Healy's avatar
      Use UIOP instead of Osicat; run on Windows · 6e6df93e
      Liam M. Healy authored
      Eliminate dependence on Osicat (which doesn't run on Windows) and use
      UIOP instead, which is already installed by virtue of using ASDF. Use
      trivial-features and add conditionals for :windows. Based on a
      patch posted by Mirko Vukovic.
      6e6df93e
  8. 24 Aug, 2015 1 commit
  9. 02 Aug, 2015 1 commit
  10. 02 Jun, 2015 1 commit
  11. 23 Jan, 2015 1 commit
  12. 22 Jan, 2015 1 commit
    • Eugene Zhemchugov's avatar
      Make callbacks reentrant · 9c043926
      Eugene Zhemchugov authored
      Rebind callback dynamic variables upon entry into the callback function.
      With this fix callbacks can be called recursively.
      9c043926
  13. 16 Feb, 2014 1 commit
  14. 25 Nov, 2013 1 commit
  15. 18 Nov, 2012 1 commit
    • Liam M. Healy's avatar
      Substitute for dim0 and dim1 in funcallables when scalarsp=NIL · 127d3d02
      Liam M. Healy authored
      Previously, the funcallable form made by #'make-funcallable-form (for
      e.g. ODE solvers) when scalarsp=T involved substituting the symbols
      'dim0 and 'dim1, but when scalarsp=NIL, would not do the substitution.
      This caused an error when those unevaluated and unbound symbols
      appeared in the lambda.  By altering #'faify-form with an additional
      'dimension-values argument and calling 
      (value-from-dimensions argspec dimension-values) 
      instead of 
      (parse-callback-argspec argspec 'dimensions), 
      this problem is fixed.
      127d3d02
  16. 19 Feb, 2012 1 commit
  17. 13 Jan, 2012 1 commit
  18. 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
  19. 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
  20. 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
  21. 18 Oct, 2011 1 commit
  22. 20 Aug, 2011 1 commit
    • Liam M. Healy's avatar
      Change shadowing of 'acceleration · 6297f7c7
      Liam M. Healy authored
      CCL gets a conflict between the type antik:acceleration and the class
      gsll:acceleration, so remove the symbol from the shadowing list of
      GSLL and add it to antik::*antik-user-shadow-symbols*.
      6297f7c7
  23. 30 Jan, 2011 1 commit
    • Liam M. Healy's avatar
      In actual-array-class, don't replace real class names · e15aaed2
      Liam M. Healy authored
      In actual-array-class, if 'category is not one of 'vector, 'matrix or
      'both, then assume it's actually a class name and just return it
      without trying to make a class name.  This fixes a problem with
      e.g. elt+ where the second argument specializer is a class name of the
      scalar.
      e15aaed2
  24. 13 Jan, 2011 1 commit
  25. 12 Jan, 2011 2 commits
  26. 10 Jan, 2011 2 commits
  27. 01 Jan, 2011 1 commit
  28. 19 Dec, 2010 3 commits
  29. 16 Dec, 2010 1 commit
  30. 12 Dec, 2010 1 commit
  31. 04 Dec, 2010 2 commits
    • Liam Healy's avatar
      Use fsbv:defconvert to define sf-result and sf-result-e10 · b97213b9
      Liam Healy authored
      Use fsbv:defconvert to define sf-result and sf-result-e10, and use
      #'fsbv:object instead of #'val, #'err, #'e10, which have been
      eliminated.
      b97213b9
    • Liam Healy's avatar
      Introduce values-unless-singleton for return values in defmfun expansion · 6010bde3
      Liam Healy authored
      New function values-unless-singleton will wrap the forms in 'values if
      there are more than one, otherwise it just returns the form.  This is
      used in the return value(s) in the defmfun expansion (by way of
      body-expand) so that if the returned form returns multiple values,
      they all come back from the defmfunned function (note that (values
      (values ...)) removes only returns the first value.
      6010bde3
  32. 28 Nov, 2010 1 commit
    • Liam Healy's avatar
      Eliminate calls to grid:complex-to-cl · 75ca6f4e
      Liam Healy authored
      Eliminate calls to grid:complex-to-cl because it has been eliminated;
      rely on fsbv:object to do the conversion.  Use new function
      #'fsbv:converter-defined-p.
      75ca6f4e
  33. 27 Nov, 2010 2 commits
  34. 25 Nov, 2010 1 commit
    • Liam Healy's avatar
      New macros #'maref and #'(setf maref) · 9becff94
      Liam Healy authored
      New macros #'maref and #'(setf maref) get and set elements of the GSL
      array directly from the mpointer.  These are not used by users, but in
      the make-funcallable-form expansion of callbacks when scalarsp = T is
      specified.  This fixes an error in the argument order in the (setf
      get-value) generic function that this replaces.
      9becff94