Skip to content
Snippets Groups Projects
  1. Jan 02, 2013
  2. Dec 31, 2012
  3. Jan 13, 2012
  4. Oct 24, 2011
    • 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
  5. Aug 17, 2011
  6. May 26, 2011
  7. Jan 10, 2011
  8. Dec 19, 2010
  9. Jul 01, 2010
  10. Jun 30, 2010
  11. Jun 27, 2010
  12. Jan 17, 2010
  13. Dec 27, 2009
  14. Dec 21, 2009
    • 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
  15. May 25, 2009
  16. Apr 27, 2009
    • 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
  17. Mar 20, 2009
    • Liam Healy's avatar
      Fixed arguments to linear least squares functions · e4a26746
      Liam Healy authored
      In both linear-mfit-nosvd and linear-mfit-svd, the arguments
      were in the wrong order, and the there was no #'mpointer call for
      covariance.  There was a 'tolerance argument in the C arglist for
      non-svd function, which should not have been there.  Also, 'weight
      needed to be declared as an input.  This last was the cause of two
      test failures in non-native implementations.  Now
      CCL64: TOTAL: 1454 assertions passed, 2 failed, 0 execution errors.
      SBCL64:TOTAL: 1451 assertions passed, 5 failed, 0 execution errors.
      e4a26746
  18. Feb 21, 2009
    • Liam Healy's avatar
      Order of arguments in linear-mfit, export symbols, documentation update · 352210f5
      Liam Healy authored
      Swapped the optional arguments 'weight, 'tolerance to linear-mfit on
      the assumption that weighted fits are used more often than SVD.
      Exported symbols for the generic functions defined in generic.lisp
      (note: this will require shadowing when importing both the :gsl
      package and the :iterate package).  Various minor improvements/updates
      to documentation.
      352210f5
  19. Feb 20, 2009
    • 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
  20. Feb 18, 2009
    • Liam Healy's avatar
      GSL features added in version 1.11; cholesky-solve and linear fit unification · cb88b8db
      Liam Healy authored
      Added +halton+, +reverse-halton+ to random/quasi.lisp. 
      
      Added #'multi-linear-residuals in
      solve-minimize-fit/linear-least-squares.lisp.  Changed +sobol+,
      +niederreiter2+ from *..* apparently overlooked before.
      
      #'cholesky-solve now written so that if x-spec = T, a marray is
      created and the solution put in it and returned.  If it is NIL, the
      solution will replace b.  This required a modification to
      expand-defmfun-generic to remove &aux args from the defgeneric
      arglist.
      
      solve-minimize-fit/linear-least-squares.lisp
      Specify the weight as an optional argument, unifying the weighted and
      unweighted functions:
      linear-fit, multiplier-fit, linear-mfit, linear-mfit-svd.
      This necessitated a change in the order of the arguments.
      Changed call in basis-splines.lisp.
      cb88b8db
  21. Feb 16, 2009
  22. Jan 25, 2009
    • Liam Healy's avatar
      Keyword arguments to defmobject · cd6a85f8
      Liam Healy authored
      Change optional arguments to defmobject to keyword arguments, and add
      :gsl-version argument that will create the maker function to signal an
      error if the installed version of GSL is too old.
      cd6a85f8
  23. Jan 24, 2009
    • Liam Healy's avatar
      Relocate definition, optional arguments, nonlinear least squares streamline · 42cf5a7b
      Liam Healy authored
      Moved gsl-mfunction, def-mfunction, and gsl-mfunction-fdf from
      roots-multi.lisp to generic.lisp because they are common to several
      files in the solve-minimize-fit module.  Made arguments default
      instead of required in #'linear-mfit, linear-mfit-svd,
      weighted-linear-mfit, weighted-linear-mfit-svd.  Most of these do not
      have examples, so untested.  This required new functions
      #'default-covariance, #'default-lls-workspace.  Renamed examples to
      #'linear-least-squares-univariate-example and
      #'linear-least-squares-multivariate-example, and changed to
      'print-details.  Revised definitions in nonlinear least squares to
      streamline data flow; there is no setup function or global
      pre-declaration of the number of parameters or observations required
      anymore.  The example function now called
      nonlinear-least-squares-example will take the number of observations
      and the fitter method as optional arguments.
      42cf5a7b
  24. Jan 20, 2009
    • Liam Healy's avatar
      Least squares added to tests, make arguments optional · f755beaf
      Liam Healy authored
      Coverted required args to optional args defmfun weighted-linear-mfit
      and replaced 'parameters with 'parameters-or-size.  Added print-steps
      options for several more examples, and put the newline at the end of
      the format string.  Added tests; CCL 64 bit now fails one of the
      linear least squares (returns zeros) and the nonlinear least squares
      (good to 6 or so significant figures).
      SBCL 64: TOTAL: 1231 assertions passed, 5 failed, 0 execution errors.
      CCL 64: TOTAL: 1234 assertions passed, 2 failed, 0 execution errors.
      f755beaf
  25. Dec 27, 2008
    • Liam Healy's avatar
      Set mpointer vlaue, show relevant .h file; non-int return for reinitialize-instance · 8a0ac730
      Liam Healy authored
      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
      :c-return.
      8a0ac730
  26. Dec 26, 2008
    • Liam Healy's avatar
      Calling mobjects with #'mpointer, generic function #'name · 297c08b2
      Liam Healy authored
      GSL functions that take GSL objects as arguments must have #'mpointer
      called on each argument.  Created a generic function #'name and
      changed all the *-name (or name-*) functions that acted on mobjects to
      this function.
      297c08b2
    • Liam Healy's avatar
      Full use of defmobject; elimination of letm · b09dc9d2
      Liam Healy authored
      All GSL objects are full CL objects with garbage collection.  There is
      no need to manually free the associated memory.  All objects may be
      assigned in the normal CL way, e.g. let, so there is not #'letm macro
      anymore.  Everything compiles cleanly in gsll, but nothing has been
      tested.
      b09dc9d2
    • Liam Healy's avatar
      New class foreign-array, new names: marray, make-marray, mobject.lisp · 7c66d57b
      Liam Healy authored
      New class foreign-array represents foreign (C) arrays, without GSL or
      mobject superclass.  New class name 'marray was 'gsl-data,
      representing arrays in GSL.  These objects are made by #'make-marray,
      formerely #'make-array*.  New file names: init/mobject.lisp was
      init/gsl-objects.lisp and data/marray.lisp was data/data.lisp.
      7c66d57b
  27. Dec 25, 2008
  28. Dec 08, 2008
    • Liam Healy's avatar
      Array input and output declarations · 1a2ebe96
      Liam Healy authored
      A somewhat comprhensive attempt to make sure :inputs, :outputs, and
      :return arguments in defmfuns match what the function is expecting and
      will return, so that non-native implementations will work correctly
      for copying, and native ones will work correctly for pinning.  The
      :return argument now defaults to :outputs in most circumstances.
      1a2ebe96
  29. Dec 01, 2008
    • Liam Healy's avatar
      GSL array making with make-array* and #m · 83cd8040
      Liam Healy authored
      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.
      83cd8040
  30. Aug 31, 2008
  31. Jul 25, 2008
  32. Feb 24, 2008
  33. Feb 18, 2008
  34. Feb 16, 2008
  35. Feb 04, 2008
  36. Feb 03, 2008
Loading