Difference between revisions of "Code"

From Predictive Chemistry
Jump to: navigation, search
Line 4: Line 4:
   
 
The [http://www.predictivestatmech.org/code/galg.py 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 [http://www.geometricalgebra.net]. It's really just as easy as ordering all the basis vectors, and keeping track of the commutator (+/- <math>\hat 1</math>).
 
The [http://www.predictivestatmech.org/code/galg.py 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 [http://www.geometricalgebra.net]. It's really just as easy as ordering all the basis vectors, and keeping track of the commutator (+/- <math>\hat 1</math>).
  +
  +
== Templates ==
  +
  +
The real world have forms, computation has templates. Pick one up, fill in the blanks, and send it down the chute.
  +
* [[NWChem|NWChem Jobs]]
  +
* [[Code:SGE|SGE (USF Circe)]]
   
 
== Code Humor ==
 
== Code Humor ==

Revision as of 10:02, 4 November 2013

Python Libraries

Geometric Algebra

The 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>).

Templates

The real world have forms, computation has templates. Pick one up, fill in the blanks, and send it down the chute.

Code Humor

Put this into your makefile: <source lang=bash> Clint\ Eastwood: myday echo "I feel great!" </source>