Code

From Predictive Chemistry
Revision as of 19:21, 23 June 2013 by WikiAdmin (talk | contribs) (Created page with "== Python Libraries == === Geometric Algebra === The attached Multivector class implements geometric algebra using Python's operator overloading. It works …")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Python Libraries

Geometric Algebra

The attached Multivector class implements geometric algebra using Python's operator overloading. It works with minimal space for any number of spatial dimensions, since it's not based on the matrix / spinor representation of Clifford algebra. Instead, it takes the basis blade approach recommended by Dorst, Fondijne, and Mann [1]. It's really just as easy as ordering all the basis vectors, and keeping track of the commutator (+/- <math>\hat 1</math>).