bld / bld-ga

Common Lisp Geometric Algebra Library
MIT License
8 stars 1 forks source link

Add documentation #2

Open porky11 opened 7 years ago

porky11 commented 7 years ago

I'd like to experiment a bit with GA, but don't understand, how to use this lib. Is it even suited for every geometric algebra? Because only e1e2e3 are exported, but you may also want to create larger e.

bld commented 7 years ago

Thanks for the feedback. You're the first! It should work for any algebra. The file 'eg.lisp' has examples on how to define the algebras of 2D and 3D Euclidean (E2 and E3), 3D homogenous (H3), and 2D and 3D conformal (C2 and C3). The arguments of the DEFG macro are:

porky11 commented 7 years ago

I already liked this some time ago, but didn't get it, and then wasn't really interested in lisp anymore anyway.