1. 27 Nov, 2010 1 commit
  2. 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
  3. 24 Nov, 2010 1 commit
    • Liam M. Healy's avatar
      New macro access-value · a2284097
      Liam M. Healy authored
      New macro access-value to call gsl_*_set and gsl_*_get, as yet unused.
      It will eventually replace get-value and (setf get-value) as used in
      reference-foreign-element, but has the arguments in the right order
      and because it's a macro, expands immediately to a
      cffi:foreign-funcall instead of doing a generic function dispatch on
      an eql spcializer of the class name.
      a2284097
  4. 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
  5. 12 Oct, 2010 1 commit
  6. 03 Oct, 2010 3 commits
  7. 01 Oct, 2010 1 commit
    • Sumant Oemrawsingh's avatar
      Added non-radix-2 tests for radix-2-sized vectors · 53fcec99
      Sumant Oemrawsingh authored
      Effectively, non-radix-2 algorithm tests on power-of-2 vector sizes are added.
      The result is, that some tests fail, and the cause at this point is not yet
      clear. The tests that fail, are all related to non-radix-2 algorithms working
      on power-of-2 vector sizes.
      
      Only tests that are missing, are the so-called bitreverse tests.
      53fcec99
  8. 15 Sep, 2010 3 commits
  9. 04 Sep, 2010 2 commits
  10. 02 Sep, 2010 1 commit
  11. 01 Sep, 2010 1 commit
    • Sumant Oemrawsingh's avatar
      Fix for random errors in tests · 04dfa37f
      Sumant Oemrawsingh authored
      The test functions did not properly initialize newly created vectors to
      contain unique values. This caused comparison of elements that are out of the
      stride to randomly succeed. The new test functions properly initialize the
      vectors just like is done in the GSL test functions. The result is that
      comparison of elements that are out of stride should fail consistently.
      
      This automatically means that the comparison should only check elements which
      are on stride, just like is done in GSL. This is not fixed yet, so the
      fast-fourier-transform unit tests are still left disabled for now.
      04dfa37f
  12. 23 Aug, 2010 1 commit
    • Liam Healy's avatar
      Fix FFT to actually do something, but comment out because of failures · b7859a14
      Liam Healy authored
      The FFT tests were testing nothing of consequence, just that NIL was
      equal to NIL, because it was looking at the result of (reset-urand)
      and then three non-existent multiple values.  This is now fixed, so
      that fft-*-result-check actually binds the results of the
      calculations.  Also, single-float tests are referenced to
      +sgl-epsilon+ and not +dbl-epsilon+.  However, for
      (all-fft-test-forms 9 3 (64 99)), many tests fail:
      FAST-FOURIER-TRANSFORM: 235 assertions passed, 55 failed.
      so the tests are commented out.
      b7859a14
  13. 21 Aug, 2010 1 commit
    • Liam Healy's avatar
      New size-vector-scalar replaces size-vector-real · 43f24411
      Liam Healy authored
      New function size-vector-scalar replaces size-vector-real, and gives
      the size as a double float if the array is real, and as the element
      type if it is complex, in order to be acceptable to the elt* interface
      to GSL's _scale routines.
      43f24411
  14. 19 Aug, 2010 1 commit
  15. 17 Aug, 2010 1 commit
  16. 14 Aug, 2010 1 commit
    • Liam Healy's avatar
      Add FFT tests · bc4d0b9a
      Liam Healy authored
      Add FFT tests; these are a subset of the GSL tests.  For some reason
      the tests take a lot longer in GSLL, so instead of testing all sizes
      1...99, we test only 1...9 and then 64 and 99 for stride 1 only.
      bc4d0b9a
  17. 13 Aug, 2010 3 commits
  18. 11 Aug, 2010 1 commit
  19. 10 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.
      7aa0111c
  21. 22 Jul, 2010 1 commit
  22. 21 Jul, 2010 1 commit
    • Liam M. Healy's avatar
      Update status.text, last element of list · 4533e1be
      Liam M. Healy authored
      Update status.text mostly be removing obsolete information without
      replacing it with current information.  Use alexandria:lastcar for the
      last element of list so I do not use private definitions (non-loaded
      source).
      4533e1be
  23. 20 Jul, 2010 1 commit
    • Liam M. Healy's avatar
      Name conditions generic-failure-* differently · f4213537
      Liam M. Healy authored
      Name conditions generic-failure-1 and generic-failure-2 because CCL
      doesn't like the duplicate differently.  Withdraw the
      conditionalization away of +nan+, +positive-infinity+, and
      +negative-infinity+ for CCL because the latest version
      "Version 1.6-dev-r13994M-trunk  (LinuxX8664)"
      can handle them.
      f4213537
  24. 19 Jul, 2010 3 commits
  25. 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
  26. 15 Jul, 2010 1 commit
  27. 14 Jul, 2010 3 commits
    • Liam M. Healy's avatar
      Minor fix-ups to pass tests · 43c2dff4
      Liam M. Healy authored
      1. Fix argument order in permutation-inverse test.
      2. Test results for cholesky need to nest list for array contents.
      3. Fix incorrect initial contents for matrix-transpose.
      Now the tests results on SBCL 64 bit, GSL 1.14 are the same as the
      master branch:
      TOTAL: 4014 assertions passed, 2 failed, 0 execution errors.
      43c2dff4
    • Liam Healy's avatar
      In make-foreign-array-from-mpointer, convert category-or-rank · 8612c543
      Liam Healy authored
      In make-foreign-array-from-mpointer, convert category-or-rank to
      'category in the symbol (in GSLL package) form, and then do cases only
      on the symbol.
      8612c543
    • Liam Healy's avatar
      Define get-value and (setf get-value) methods for matrices · 8d898b21
      Liam Healy authored
      Define get-value and (setf get-value) methods for matrices, and
      compute two indices when used, by making use of
      affi::delinearize-index.  Add &rest to *defmfun-llk* so that it won't
      be included in the ignore list.  Minor fixes to make more tests work.
      8d898b21