1. 15 Jul, 2018 1 commit
    • Liam Healy's avatar
      Use _tsvd instead of _svd functions · eeeda841
      Liam Healy authored
      Apparently, the linear least squares functions gsl_multifit_linear_svd
      and gsl_multifit_wlinear_svd were replaced by
      gsl_multifit_linear_tsvd and gsl_multifit_wlinear_tsvd respectively,
      even though the original function names still exist. This fixes a
      compilation problem.
  2. 08 Jul, 2018 1 commit
    • Liam Healy's avatar
      GSL2 use new Jacobian function gsl_multifit_fdfsolver_jac · e6fad7a9
      Liam Healy authored
      Function #'jacobian calls GSL2 function gsl_multifit_fdfsolver_jac
      with a second optional argument, this argument is the matrix into
      which the jacobian is written. If it is NIL, than the matrix is
      created with the new function #'make-jacobian-matrix. Covariance
      calculation #'ls-covariance calls #'jacoabian as in GSL1, but needs to
      pass result to #'mpointer to get a C pointer. To avoid reallocating
      covariance matrix repeatedly, call #'make-jacobian-matrix outside the
      iteration loop and pass as argument to ls-covariance, as shown in
      example #'nonlinear-least-squares-example.
  3. 08 Aug, 2016 1 commit
    • Liam Healy's avatar
      Remainder of GSL 2.0 API changes · 32bbd1aa
      Liam 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.
  4. 07 Aug, 2016 1 commit
    • Liam Healy's avatar
      Use feature for GSL2; abort for now if present · 8ef71890
      Liam 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.
  5. 06 Aug, 2016 1 commit
    • Liam Healy's avatar
      Start API changes for GSL 2.0 · 2d3c6598
      Liam 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:
  6. 16 Jun, 2016 1 commit
    • Liam Healy's avatar
      Added definitions in GSL 1.13 · 80875db6
      Liam Healy authored
      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.
  7. 15 Jun, 2016 1 commit
  8. 05 Mar, 2013 1 commit
  9. 02 Jan, 2013 1 commit
  10. 31 Dec, 2012 1 commit
  11. 13 Jan, 2012 1 commit
  12. 30 Oct, 2011 1 commit
  13. 24 Oct, 2011 1 commit
    • Liam Healy's avatar
      Eliminate fsbv:object for built-in types · 639a5f35
      Liam 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.
  14. 28 Sep, 2011 1 commit
  15. 17 Aug, 2011 1 commit
  16. 26 May, 2011 1 commit
  17. 10 Jan, 2011 2 commits
  18. 19 Dec, 2010 1 commit
  19. 19 Aug, 2010 1 commit
  20. 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.
  21. 13 Jul, 2010 3 commits
    • Liam M. Healy's avatar
      Remove diagnostic printout · 42dfd182
      Liam M. Healy authored
    • 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.
    • 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.
  22. 02 Jul, 2010 1 commit
  23. 01 Jul, 2010 1 commit
  24. 30 Jun, 2010 1 commit
  25. 27 Jun, 2010 2 commits
    • 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.
    • 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
  26. 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").
  27. 26 Apr, 2010 2 commits
  28. 10 Apr, 2010 1 commit
    • 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.
  29. 05 Apr, 2010 1 commit
  30. 17 Jan, 2010 1 commit
  31. 27 Dec, 2009 1 commit
  32. 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.
  33. 25 Aug, 2009 1 commit
    • Liam Healy's avatar
      Added tests of minimization-one setting with values · 13447017
      Liam Healy authored
      Two new tests of minimization-one setting values have been added,
      duplicating the test which do not set values.  Patch by Evgeniy
      SBCL 64:
      TOTAL: 1525 assertions passed, 5 failed, 0 execution errors.
  34. 24 Aug, 2009 1 commit
    • Liam Healy's avatar
      Multiple foreign functions in the reinitialize-instance for mobjects · 9990ee06
      Liam Healy authored
      It is now possible to specify two foreign functions for the
      reinitialize-instance for defmobject.  The switch between the function
      depends on the presence or absence of optional/key arguments.  This is
      used in the definition of one-dimensional-minimizer to switch between
      gsl_min_fminimizer_set and gsl_min_fminimizer_set_with_values
      depending on the non-NIL value of f-minimum.  The set-with-values case
      has not yet been tested.
  35. 23 Aug, 2009 1 commit