1. 26 Sep, 2009 1 commit
    • Liam Healy's avatar
      Cholesky: add tests; return argument for matrix-product · bcb8e0b5
      Liam Healy authored
      Added eight tests from GSL's test for Cholesky decomposition and
      solving.  The four decomposition tests incorrectly produce zero in
      CCL.  The first optional argument in matrix-product and
      matrix-product-symmetric can now be nil, to indicate a matrix of the
      right dimensions should be constructed.  This is the default; the
      default previously was to make that matrix directly, which meant if
      any other optional arguments were supplied, the complicated default
      construction for the return matrix would have to be re-entered.
      bcb8e0b5
  2. 25 Sep, 2009 1 commit
  3. 22 Sep, 2009 1 commit
    • Liam Healy's avatar
      Test result is double-float · df63f1b6
      Liam Healy authored
      Add "d0" to test result for (test-qr-lssolve-dim *M53*) so that it's
      read as double-float; without that it is interpreted as single-float
      which gives a substantial discrepancy from the double-float result.
      df63f1b6
  4. 21 Sep, 2009 1 commit
    • Liam Healy's avatar
      QR: More optional arguments, add tests form GSL · 44b9d868
      Liam Healy authored
      Changed required to optional arguments for several of the QR linear
      algebra functions, for returned quantities.  45 new tests added for QR
      that are translated from GSL's tests.  Matrices and solutions that are
      used by more than one of the linear algebra techniques are defined in
      matrix-generation.lisp.
      44b9d868
  5. 20 Sep, 2009 2 commits
    • Liam Healy's avatar
      LU linear algebra tests from GSL · 75f04669
      Liam Healy authored
      Added nine tests derived from the self-tests that GSL has for LU
      decomposition.  All tests except the complex matrix pass within the
      tolerances prescribed by GSL.
      75f04669
    • Liam Healy's avatar
      Matrix generation for linear algebra tests · 72eaac6d
      Liam Healy authored
      Matrices (and vectors) may be created from functions of the element
      indices.  This is needed to create the matrices used in testing the
      linear algebra functions.  It also can be of general use, especially
      with further generalization.  For now, there are no exported symbols
      from these definitions.
      72eaac6d
  6. 18 Sep, 2009 1 commit
    • Liam Healy's avatar
      SVD: More optional arguments, add tests · 03ad93e0
      Liam Healy authored
      For the singular value decomposition functions, make the S vector and
      V matrix optional arguments, as they are quantities returned by the
      functions.  Add tests translated from the GSL tests.
      03ad93e0
  7. 27 Aug, 2009 2 commits
  8. 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
  9. 25 Aug, 2009 1 commit
    • Liam Healy's avatar
      Added tests of minimization-one setting with values · 13447017
      Liam Healy authored
      Two new tests of minimization-one setting values have been added,
      duplicating the test which do not set values.  Patch by Evgeniy
      Zhemchugov.
      SBCL 64:
      TOTAL: 1525 assertions passed, 5 failed, 0 execution errors.
      13447017
  10. 24 Aug, 2009 2 commits
    • Liam Healy's avatar
      Use symbols to refer to modules in asd file · 4df83bca
      Liam Healy authored
      ASDF definition of modules are with symbols, so the :depends-on
      reference to those modules is also with symbols, not strings.
      4df83bca
    • Liam Healy's avatar
      Multiple foreign functions in the reinitialize-instance for mobjects · 9990ee06
      Liam Healy authored
      It is now possible to specify two foreign functions for the
      reinitialize-instance for defmobject.  The switch between the function
      depends on the presence or absence of optional/key arguments.  This is
      used in the definition of one-dimensional-minimizer to switch between
      gsl_min_fminimizer_set and gsl_min_fminimizer_set_with_values
      depending on the non-NIL value of f-minimum.  The set-with-values case
      has not yet been tested.
      9990ee06
  11. 23 Aug, 2009 2 commits
    • Liam Healy's avatar
      Fix order of arguments in set-fminimizer-with-values · 45387336
      Liam Healy authored
      Argument order in call to "gsl_min_fminimizer_set_with_values" in
      set-fminimizer-with-values now correctly matches stated order in
      /usr/include/gsl/gsl_min.h.  Patch from Evgeniy Zhemchugov.
      45387336
    • Liam Healy's avatar
      Handle cflags in the grovel file · 6f287646
      Liam Healy authored
      Handle conditional cflags in the grovel file instead of modifying the
      cffi-grovel::*cc-flags* variable.  Also use strings for depends-on
      in asdf file.
      6f287646
  12. 22 Aug, 2009 2 commits
  13. 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
  14. 18 Jun, 2009 1 commit
  15. 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
  16. 16 Jun, 2009 4 commits
  17. 15 Jun, 2009 1 commit
  18. 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
  19. 10 Jun, 2009 2 commits
    • Liam Healy's avatar
      Fix multidimensional minimization with scalarsp · a2ba427b
      Liam Healy authored
      In the definition of multi-dimensional-minimizer-fdf, the dimensions
      of the :output for df and fdf have been corrected by removing an extra
      dim0.  The parabaloid example has been implemented using scalars, and
      the results match that of the vector form.  A test has been added for
      the scalar form.
      a2ba427b
    • Liam Healy's avatar
      Port of ntuple to cbinfo form · a7a5f644
      Liam Healy authored
      In the previous conversion of callbacks, ntuple was somehow missed.
      a7a5f644
  20. 08 Jun, 2009 1 commit
    • Liam Healy's avatar
      Grovel physical constants using new CFFI-grovel · 5386a514
      Liam Healy authored
      Stelian Ionescu has modified CFFI-grovel to generate double-float
      constants with :type double-float in constant.  GSLL has been ported
      to use that.  This requires a version of CFFI which includes the patch
      of Mon Jun 8 10:29:44 EDT 2009.  It works, but until this has a
      release number, it will stay out of the master GSLL branch.
      5386a514
  21. 07 Jun, 2009 1 commit
  22. 06 Jun, 2009 1 commit
    • Liam Healy's avatar
      Define C structures using CFFI-grovel · 8c0e6eb7
      Liam Healy authored
      Almost all GSL structures are now defined using CFFI-grovel, which
      makes the code more robust should there be changes in GSL.  The
      exceptions are complex-float-c, complex-double-c, and
      simulated-annealing-parameters; because these structures are used by
      value, they need to be defined with fsbv:defcstruct at the present.
      8c0e6eb7
  23. 05 Jun, 2009 4 commits
  24. 04 Jun, 2009 2 commits
  25. 31 May, 2009 1 commit
  26. 29 May, 2009 1 commit
    • Liam Healy's avatar
      Physical constants added · 722fa9e2
      Liam Healy authored
      All physical constants in gsl/gsl_const_mksa.h and
      gsl/gsl_const_cgsm.h are defined as Lisp constants and exported.  This
      requires a patch to CFFI grovel/grovel.lisp.  Since this patch has
      just been sent to the CFFI mailing list and is not generally
      available, this will remain off the master branch until the patched
      CFFI is generally available.
      722fa9e2
  27. 27 May, 2009 1 commit