Skip to content
Snippets Groups Projects
Commit 26271f71 authored by Liam M. Healy's avatar Liam M. Healy
Browse files

Methods for arithmetic functions on foreign-arrays

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))
parent 6010bde3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment