1. 27 Dec, 2014 1 commit
  2. 13 Jan, 2012 1 commit
  3. 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
  4. 17 Aug, 2011 1 commit
  5. 29 Jul, 2011 2 commits
  6. 12 Jan, 2011 1 commit
  7. 10 Jan, 2011 1 commit
  8. 19 Dec, 2010 1 commit
  9. 16 Jul, 2010 2 commits
    • Liam M. Healy's avatar
      Fix non-array copy and clone functions · da5b6d2a
      Liam M. Healy authored
      Most of the non-array copy and clone functions had wrong calls, wrong
      arguments, and/or superfluous arguments; now fixed.
      da5b6d2a
    • Liam Healy's avatar
      Copy with #'grid:copy methods · bdbb354b
      Liam Healy authored
      Copy with #'grid:copy methods and eliminate copy-to-destination and
      copy-making-destination.  For non-grid objects, the presence or
      absence of destination selects different foreign functions.
      bdbb354b
  10. 07 Jul, 2010 1 commit
  11. 02 Jul, 2010 1 commit
  12. 30 Jun, 2010 2 commits
  13. 27 Jun, 2010 1 commit
  14. 02 Jun, 2010 1 commit
  15. 25 May, 2010 1 commit
    • Liam Healy's avatar
      New random sample tests; rewrite testpdf · ff9126d9
      Liam Healy authored
      Rewrote testpdf so that it takes a function of the random variable,
      and the list of distribution name and keyword-argument pair.  Added
      new tests levy and exponential-power; several more (beta, chi-squared,
      exponential) written but commented out because they take an
      unreasonably long time to complete; these require further
      investigation.
      ff9126d9
  16. 18 Apr, 2010 1 commit
  17. 17 Jan, 2010 2 commits
  18. 27 Dec, 2009 1 commit
  19. 26 Dec, 2009 1 commit
    • Liam Healy's avatar
      Be strict on initial marray values; default marrays · 2a6a743f
      Liam Healy authored
      Removed some marrays marked as :input when their values were not used.
      This failed in CCL because the arrays in those cases were created with
      no initial values, and no values were set, so that they were marked
      cl-invalid.  Created #'make-marray-or-default to facilitate defaulting
      of marrays in defmfun, and marking validity appropriately.
      Test results:
      SBCL 64:
      TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
      CCL 64:
      TOTAL: 1620 assertions passed, 13 failed, 0 execution errors.
      2a6a743f
  20. 21 Dec, 2009 3 commits
    • Liam Healy's avatar
      Move copy, copy-making-destination to grid · 3680b307
      Liam Healy authored
      Moved the definition of the generic function copy-making-destination
      to copy objects while making a destination object, and the wrapper
      function #'copy for that and copy-to-destination to grid/ and c-array:
      package.
      3680b307
    • Liam Healy's avatar
      Move copy-to-destination to grid · 06f99392
      Liam Healy authored
      The generic function definition for copy-to-destination is now in
      grid/ and the c-array package.  This will make it accessible to
      non-GSLL foreign library interfaces, but the new location is a bit
      deceptive because a new method needn't be a subclass of foreign-array.
      06f99392
    • Liam Healy's avatar
      Move foreign-array and foreign-friendly to grid · a9cf4a74
      Liam Healy authored
      Continuing the separation of definitions useful for any libraries
      using C arrays, foreign-array.lisp and foreign-friendly.lisp have been
      moved to the grid subdirectory and placed in the c-array package.
      All tests pass on SBCL 64,
      TOTAL: 1627 assertions passed, 6 failed, 0 execution errors.
      a9cf4a74
  21. 26 Aug, 2009 1 commit
    • Liam Healy's avatar
      List argument to defmobject :initialize-suffix · 8555fb6a
      Liam Healy authored
      A list argument to defmobject :initialize-suffix now means what a list
      argument to defmfun to defmfun c-arguments does: there are two foreign
      functions corresponding to the Lisp function; in this case, to
      reinitialize-instance.  The old meaning of having the second element
      specify the c-return reinitialize-instance has been eliminated;
      instead, this information is conveyed in a new key argument
      :ri-c-return.
      8555fb6a
  22. 27 May, 2009 1 commit
  23. 25 May, 2009 2 commits
  24. 08 May, 2009 1 commit
  25. 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
  26. 21 Feb, 2009 1 commit
    • 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
  27. 18 Feb, 2009 1 commit
    • 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
  28. 17 Feb, 2009 1 commit
    • Liam Healy's avatar
      GSL features added in version 1.9 · 6e17d879
      Liam Healy authored
      Added definitions for GSL features that were added in version 1.9, and
      one from version 1.10: mminusp, mplusp, non-negative-p,
      +knuthran2002+, +vector-bfgs2+.  Macros defmpar now has key instead of
      optional args.  It and def-rng-type take a gsl-version argument; any
      symbols that are not defined in the user's version of GSL will be
      bound to an instance of 'obsolete-gsl-version but it is not signalled.
      6e17d879
  29. 16 Feb, 2009 1 commit
  30. 25 Jan, 2009 2 commits
    • Liam Healy's avatar
      ODE control objects · 4e83fcc4
      Liam Healy authored
      ODE control is now done with GSL objects, including a superclass
      'ode-control.
      4e83fcc4
    • 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
  31. 12 Jan, 2009 1 commit
    • Liam Healy's avatar
      Redefine #'copy · 419e70d4
      Liam Healy authored
      Redefine #'copy so that it has one required argument (source) and one
      optional argument (destination).  For marrays, create a destination
      using make-marray, if one was not given, and then use the memcpy
      functions to fill the values.  For all other mobjects, copy will copy
      objects by calling one of two generic functions, #'copy-to-destination
      and #'copy-making-destination, depending on whether a destination was
      supplied.  The former is defined if a GSL _memcpy function exists.
      The latter will look for a GSL _clone function, then make a CL
      instance with the pointer returned as mpointer.  If there is no clone
      function, it will attempt to make a new object using make-load-form,
      so will fail if that method has not been defined.
      
      Added a check to defmfun that signals an error if a variable is used
      in the C arguments other than top-level that is not used in the CL
      arglist.  This should not happen and is usually an indication of a
      typo.
      419e70d4
  32. 30 Dec, 2008 1 commit