Skip to content
Snippets Groups Projects
  1. Jan 01, 2011
  2. Jul 14, 2010
    • 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
  3. Jul 07, 2010
  4. Jun 30, 2010
  5. Dec 27, 2009
  6. Sep 21, 2009
    • 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
  7. Sep 20, 2009
    • 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
  8. Mar 18, 2009
    • Liam Healy's avatar
      LU remultiplication with permutation; unify permutation functions · b7074c43
      Liam Healy authored
      The LU remultiplication tests now permute the answer at the end so
      that it ends up with the original vector with the elements in the
      original order.  The permutation functions #'permute and
      #'permute-inverse now include all arguments, including marrays and
      pointers to C arrays.  Formerely, there were separate functions
      #'permute-vector and #'permute-vector-inverse.
      SBCL64: TOTAL: 1451 assertions passed, 5 failed, 0 execution errors.
      CCL64:  TOTAL: 1452 assertions passed, 4 failed, 0 execution errors.
      b7074c43
  9. Feb 23, 2009
    • Liam Healy's avatar
      Default values for LU functions; added test · c04147d7
      Liam Healy authored
      LU-solve and LU-decomposition now have optional arguments.  For
      LU-solve, the choice of whether to solve in-place or in a new vector
      depends on how this last argument is specified.  Because of the
      different call paths, it is possible that x is a vector or nil.  If it
      is a vector, it will change after the foreign call, which means it
      needs to be added to :outputs.  In order to prevent an error from the
      call to (setf cl-invalid) and (setf c-invalid) when x is nil, these
      two functions have been defined for class T to do nothing but return
      the value.  Also, copy-c-to-cl and copy-cl-to-c check whether the
      argument is a mobject, though this change isn't needed.  
      
      There are two additional tests in 'lu that do a solve and then
      remultiply the results with matrix-product-triangular.  In both SBCL
      and CCL, the answer comes out reversed.  When multiplied by
      matrix-product, it is correct.
      c04147d7
  10. Dec 31, 2008
    • Liam Healy's avatar
      Redesign polynomial-solve, invert matrix · 4f581352
      Liam Healy authored
      The function #'polynomial-solve is now directly defined with defmfun
      with a single required argument and two optional arguments: the answer
      vector-complex-double-float and the workspace, both of which default
      to the right thing.  The returned is now the this marray instead of a
      list.  Simplify the definition of #'invert-matrix and return the
      matrix-double-float instead of the CL array.  All tests pass SBCL and
      CCL with trace.
      4f581352
  11. Dec 27, 2008
    • Liam Healy's avatar
      Updated tests; all pass · 64fea6a9
      Liam Healy authored
      Fixes to some definitions 
      lognormal, discrete: use #'mpointer
      lu: new syntax for making array
      quasi: order of arguments fixed in make-quasi-random-number-generator
      sorting: syntax to make combination
      All tests have been regenerated because syntax for arrays etc. has
      changed.  Visually inspected that results match previous check in.
  12. Nov 16, 2008
Loading