Skip to content
Snippets Groups Projects
  1. Apr 29, 2006
    • liam's avatar
      Allow arbitrary CL function arglist in defun-gsl with :function · 1ab6ee5a
      liam authored
      argument, like :method argument.  The arguments to the GSL function
      can be mapped arbitrarily, and different pieces like the size of a
      vector (with new function #'dim0) or the pointer #'gsl-array can be
      put in the correct place in the arglist explicitly.  Thus I can
      simplify #'splice-arguments and eliminate the hackish automatic
      insertion of the vector dimension after (or maybe before) when
      declared (:double *).  Ported all half-dozen or so uses to the new
      form.  Add :after cl-invalidate where needed.
      
      
      
      git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3054 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
      1ab6ee5a
  2. Apr 28, 2006
  3. Apr 27, 2006
  4. Apr 26, 2006
  5. Apr 25, 2006
  6. Apr 22, 2006
  7. Apr 21, 2006
    • liam's avatar
      Bind named vector dimension in defun-gsl expansion so that e.g. · 94651b3d
      liam authored
      (defun-gsl polynomial-solve-ws
          ((coefficients (:double n)) (workspace poly-complex-workspace))
        "gsl_poly_complex_solve"
        :return ((gsl-complex (1- n))))
      expands to
      (DEFUNX-MAP POLYNOMIAL-SOLVE-WS
                  "gsl_poly_complex_solve"
                  (COEFFICIENTS WORKSPACE)
                  (LET ((N (FIRST (STORAGE-SIZE COEFFICIENTS))))
                    (WITH-FOREIGN-OBJECTS ((#:RET4113 'GSL-COMPLEX (1- N)))
      	... )))
      This currently works only for a vector; no accomodation is made for
      matrices. 
      
      
      git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3043 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
      94651b3d
  8. Apr 20, 2006
  9. Apr 19, 2006
  10. Apr 17, 2006
  11. Apr 16, 2006
  12. Apr 15, 2006
  13. Apr 14, 2006
  14. Apr 13, 2006
  15. Apr 11, 2006
  16. Apr 07, 2006
  17. Apr 06, 2006
  18. Apr 05, 2006
  19. Apr 03, 2006
  20. Apr 02, 2006
  21. Mar 30, 2006
  22. Mar 29, 2006
  23. Mar 28, 2006
  24. Mar 27, 2006
Loading