Skip to content
Snippets Groups Projects
  1. Feb 27, 2011
  2. Dec 04, 2010
    • Liam Healy's avatar
      Introduce values-unless-singleton for return values in defmfun expansion · 6010bde3
      Liam Healy authored
      New function values-unless-singleton will wrap the forms in 'values if
      there are more than one, otherwise it just returns the form.  This is
      used in the return value(s) in the defmfun expansion (by way of
      body-expand) so that if the returned form returns multiple values,
      they all come back from the defmfunned function (note that (values
      (values ...)) removes only returns the first value.
      6010bde3
  3. Nov 28, 2010
    • Liam Healy's avatar
      Eliminate calls to grid:complex-to-cl · 75ca6f4e
      Liam Healy authored
      Eliminate calls to grid:complex-to-cl because it has been eliminated;
      rely on fsbv:object to do the conversion.  Use new function
      #'fsbv:converter-defined-p.
      75ca6f4e
  4. Nov 27, 2010
  5. Nov 25, 2010
    • 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
  6. Nov 24, 2010
    • 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
  7. Nov 14, 2010
    • 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
  8. Oct 12, 2010
  9. Oct 03, 2010
  10. Oct 01, 2010
    • 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
  11. Sep 15, 2010
  12. Sep 04, 2010
  13. Sep 02, 2010
  14. Sep 01, 2010
    • 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
  15. Aug 23, 2010
    • 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
  16. Aug 21, 2010
    • 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
  17. Aug 19, 2010
  18. Aug 17, 2010
  19. Aug 14, 2010
    • 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
  20. Aug 13, 2010
  21. Aug 11, 2010
  22. Aug 10, 2010
  23. Aug 08, 2010
    • 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
  24. Jul 22, 2010
  25. Jul 21, 2010
    • 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
  26. Jul 20, 2010
    • 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
  27. Jul 19, 2010
  28. Jul 16, 2010
    • 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
Loading