1. 20 Jan, 2016 1 commit
  2. 29 Dec, 2015 1 commit
  3. 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
  4. 17 Oct, 2014 1 commit
  5. 22 Feb, 2014 1 commit
    • Liam M. Healy's avatar
      Add 2D histogram definitions · 9857f92c
      Liam M. Healy authored
      Add methods/functions for increment, range, max-range, min-range,
      grid:dimensions. This should complete the needed functions for 2D. It
      compiles, but nothing is tested.
      9857f92c
  6. 16 Feb, 2014 1 commit
    • Liam M. Healy's avatar
      Add some definitions for 2D histograms · 5561f4de
      Liam M. Healy authored
      Definitions for 2D histograms: methods for grid:aref, set-zero, and
      conversion of max-range to generic function and methods. The max-range
      definitions require modifications to defmfun for including two GSL
      function calls in the method. These are untested.
      5561f4de
  7. 04 Oct, 2013 1 commit
    • Liam M. Healy's avatar
      Add direct foreign-vector view of 1D histograms · b2f6ae1f
      Liam M. Healy authored
      Defined two functions, view-range-as-foreign-array and view-bin-as-foreign-array that proved direct foreign-vector view of 1D histograms (shared data memory with the foreign histogram). This maybe be a precursor to some eventual generic "view" function, so the function symbols are not exported yet as the name may change. Also, the defcstruct should be done as a grovel on the C header. However, the functions do work now.
      b2f6ae1f
  8. 07 May, 2013 1 commit
  9. 13 Jan, 2012 1 commit
  10. 30 Oct, 2011 1 commit
  11. 12 Sep, 2011 1 commit
    • Liam M. Healy's avatar
      Use generic functions for histogram · 898260bd
      Liam M. Healy authored
      Define methods for existing generic functions for histogram:
      grid:dimensions (replacing #'bins), set-zero (replacing #'reset).
      Also, add a comment that the functions for 2D histogram have not been
      defined as a "to be done" reminder.
      898260bd
  12. 19 Aug, 2011 1 commit
  13. 26 May, 2011 1 commit
  14. 22 Feb, 2011 1 commit
  15. 19 Feb, 2011 1 commit
  16. 12 Jan, 2011 1 commit
  17. 10 Jan, 2011 1 commit
  18. 14 Nov, 2010 2 commits
    • Liam Healy's avatar
      Revert the histogram change · a27a80a1
      Liam Healy authored
      Revert the last histogram change because GSD has been changed so that
      the gref compiler macro does not take effect except for foreign-array
      types.
      a27a80a1
    • Liam Healy's avatar
      Definition of grid:gref* for histogram · de942c32
      Liam Healy authored
      Define method grid:gref* for histograms; it was a definition of
      grid:gref, but with the compiler macro that turns that into
      grid:gref*, we need it to be a definition of grid:gref* instead.
      Removed the definition of +foreign-array-pointer+ and
      +foreign-array-type+ to the grid package.
      de942c32
  19. 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
  20. 07 Jul, 2010 1 commit
  21. 02 Jul, 2010 1 commit
  22. 01 Jul, 2010 1 commit
  23. 30 Jun, 2010 1 commit
  24. 27 Jun, 2010 1 commit
  25. 27 Dec, 2009 1 commit
  26. 21 Dec, 2009 2 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
  27. 27 Aug, 2009 1 commit
  28. 05 Jul, 2009 1 commit
    • Liam Healy's avatar
      Complete histogramming test; not functioning · 9d7a0de3
      Liam Healy authored
      Complete histogramming test ntuple-example-histogramming, which gets
      an error on the first row.  It uses two new defined functions
      ntuple-example-val-func and ntuple-example-sel-func.  The scale is a
      global *ntuple-example-scale*.
      9d7a0de3
  29. 17 Jun, 2009 1 commit
    • Liam Healy's avatar
      Add read test to ntuple · 9c3b2956
      Liam Healy authored
      Add read test to ntuple, fix incorrect C form for open-ntuple, make
      file names optional arguments to example functions.
      9c3b2956
  30. 11 Jun, 2009 1 commit
    • Liam Healy's avatar
      Hand expansion of project-ntuple; start writing ntuple example · 9f1f9900
      Liam Healy authored
      In order to avoid or defer the complicated process of modifying
      defmfun definitions to handle two cbstructs, the definition of
      project-ntuple has been written by hand as a defun etc., by expanding
      a simpler defmfun and making the necessary modifications and mergers
      with an editor.  It has not yet been tested.  The test given in GSL
      ntuple/test.c is partially ported to Lisp.
      9f1f9900
  31. 10 Jun, 2009 1 commit
  32. 25 May, 2009 1 commit
  33. 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
  34. 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
  35. 25 Jan, 2009 1 commit
    • 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
  36. 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
  37. 04 Jan, 2009 1 commit
    • Liam Healy's avatar
      Elementwise array operations named "elt" · 4bfa337d
      Liam Healy authored
      GSL functions that operate from one corresponding array elements and
      then overwrite the first array, as well as those that operate on each
      element of an array with a scalar, are now named starting with "elt",
      as in "elt+"; formerely they started with "m".  This is to reinforce
      the idea that they are not generally a mathematical solution to
      algebraic problems, just elementwise operations.  The scalar
      operations (addition, multiplication) are methods of elt+ and elt* as
      well. Test results 64 bit:
      SBCL: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors.
      CCL: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors.
      4bfa337d