1. 12 Jan, 2009 1 commit
    • Liam Healy's avatar
      Small fixes · ef3e446f
      Liam Healy authored
      Combination #'copy-to-destination had permutation instead of
      combination.  Only :compile-toplevel in eval-when for
      maref-function-picker to prevent warning messages.  Non-symmetric
      eigenvalues-eiegenvectors-nonsymm now return both eigenvalues and
      eigenvectors; this function evidently doesn't support
      set-parameters-nonsymmetric so that has been removed.
      ef3e446f
  2. 11 Jan, 2009 1 commit
    • Liam Healy's avatar
      Non-symmetric eigensystems, array outputs for special functions · 12c2be7e
      Liam Healy authored
      Added some functions introduced in GSL 1.9 to solve eigenvectors and
      eigenvalues for non-symmetric matrices.  These are untested as yet.
      Changed array output for special functions to be optional arguments
      which can take a size (integer) and create a marray of the right
      size.
      12c2be7e
  3. 09 Jan, 2009 1 commit
    • Liam Healy's avatar
      Default optional/key argument values for arrays · 46260bed
      Liam Healy authored
      When used as the default optional/key argument values for arrays, the
      value symbol 'element-type is replaced with the actual element type
      for the method.  This replaces the :make-marray form.  When used as
      the default optional/key argument values for arrays, the form
      (eltcase element-type form element-type form ...)
      will be replaced by the appropriate form.  This replaces the direct
      appending of the (element-type form element-type form) list.
      SBCL same tests pass.
      46260bed
  4. 06 Jan, 2009 1 commit
    • Liam Healy's avatar
      Optional argument defaults as GSL objects · 164cc82c
      Liam Healy authored
      Optional arguments may be specified easily as functions creating GSL
      objects, keying off the element type of the required arguments.  For
      example, the arglist
      ((matrix matrix) i
           &optional (vector :make-marray vector (dim0 matrix)))
      means that if vector is not specified, it will make a vector whose 
      element type is the same as matrix, and whose length is the number of
      rows of matrix.  This is used to proved default arguments for a number
      of functions, including the workspace argument for eigenspaces.  Some
      arguments that were required before are now optional and therefore
      placed after the required arguments.  Renamed to matrix-transpose from
      matrix-transpose-copy, and the the in-place transpose renamed to
      matrix-transpose* from matrix-transpose.  Tests on 64 bit:
      SBCL: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors.
      CCL: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors.
      164cc82c
  5. 05 Jan, 2009 1 commit
    • Liam Healy's avatar
      Default arguments for eigensystems · d0ba4920
      Liam Healy authored
      By default, create the appropriate output vectors and matrices, as
      well as the workspace, for the eigenvalue and eigenvector functions.
      d0ba4920
  6. 27 Dec, 2008 1 commit
    • Liam Healy's avatar
      Set mpointer vlaue, show relevant .h file; non-int return for reinitialize-instance · 8a0ac730
      Liam Healy authored
      In defmobject, set the mpointer value if #'allocate is being called.
      For each file that defines a defmobject, I put a comment at the top
      showing the relevant GSL header file.  For generators and quasi, the
      (re)initializing function returns void and not an :int, so that is
      changed in the defmobject definition, which now permits a list of two
      elements in initialize-suffix, with the second element indicating the
      :c-return.
      8a0ac730
  7. 26 Dec, 2008 3 commits
    • Liam Healy's avatar
      Calling mobjects with #'mpointer, generic function #'name · 297c08b2
      Liam Healy authored
      GSL functions that take GSL objects as arguments must have #'mpointer
      called on each argument.  Created a generic function #'name and
      changed all the *-name (or name-*) functions that acted on mobjects to
      this function.
      297c08b2
    • Liam Healy's avatar
      Full use of defmobject; elimination of letm · b09dc9d2
      Liam Healy authored
      All GSL objects are full CL objects with garbage collection.  There is
      no need to manually free the associated memory.  All objects may be
      assigned in the normal CL way, e.g. let, so there is not #'letm macro
      anymore.  Everything compiles cleanly in gsll, but nothing has been
      tested.
      b09dc9d2
    • Liam Healy's avatar
      New class foreign-array, new names: marray, make-marray, mobject.lisp · 7c66d57b
      Liam Healy authored
      New class foreign-array represents foreign (C) arrays, without GSL or
      mobject superclass.  New class name 'marray was 'gsl-data,
      representing arrays in GSL.  These objects are made by #'make-marray,
      formerely #'make-array*.  New file names: init/mobject.lisp was
      init/gsl-objects.lisp and data/marray.lisp was data/data.lisp.
      7c66d57b
  8. 25 Dec, 2008 1 commit
  9. 01 Dec, 2008 1 commit
    • Liam Healy's avatar
      GSL array making with make-array* and #m · 83cd8040
      Liam Healy authored
      GSL arrays are garbage-collected objects, and so can be made like any
      other lisp object; they do not need to be make inside a wrapper form.
      #m is a macro which makes them; it expands to a #'make-array* call.
      Examples and usage ported to this new form.  Compiled only; not tested
      yet.  No effort to port to non-native implementation yet; tests as
      expanded in the tests/ directory are not ported yet.
      83cd8040
  10. 25 Oct, 2008 1 commit
    • Liam Healy's avatar
      Port tests to save-test · 0343f3ce
      Liam Healy authored
      All remaning tests are now defined with save-test, and the
      LISP-UNIT:DEFINE-TEST has been eliminated from the definition files,
      except for arrays.
      0343f3ce
  11. 15 Aug, 2008 1 commit
    • Liam Healy's avatar
      Eigensystems port to ffa · 6f51bb7f
      Liam Healy authored
      Eigenvalues, eigenvectors ported to ffa, using generic functions to
      choose between real symmetrix and complex hermitian matrices.  The
      example has been tried and works.
      6f51bb7f
  12. 25 Jul, 2008 2 commits
  13. 18 Feb, 2008 1 commit
  14. 04 Feb, 2008 1 commit
  15. 03 Feb, 2008 2 commits
  16. 28 Jan, 2008 1 commit
  17. 21 Jan, 2008 1 commit
  18. 06 Jul, 2006 1 commit
  19. 22 May, 2006 1 commit