1. 01 Jan, 2011 2 commits
    • Liam Healy's avatar
      f4bf4c1e
    • Liam Healy's avatar
      Methods for arithmetic functions on foreign-arrays · 26271f71
      Liam Healy authored
      Depend on Antik instead of GSD.  Add new methods for Antik functions
      on foreign-arrays.  This permits algebra-style computation on arrays,
      e.g.,
      (in-package :antik-user)
      (setf grid:*default-grid-type* 'grid:foreign-array)
      (expt (* (rotate-3d :z #_15_deg) (rotate-3d :z #_45_deg)) -1)
      #m((0.5 0.8660254037844386 0.0) (-0.8660254037844385 0.5000000000000001 -0.0)
         (0.0 0.0 1.0))
      (rotate-3d :z #_-60_deg)
      #m((0.5000000000000001 0.8660254037844386 0.0)
         (-0.8660254037844386 0.5000000000000001 0.0) (0.0 0.0 1.0))
      26271f71