Octonians in Python

Robert Kern kern at myrddin.caltech.edu
Sat Oct 6 19:29:05 EDT 2001


In article <3BBF4979.4067B406 at alcyone.com>,
	Erik Max Francis <max at alcyone.com> writes:
> David Feustel wrote:
> 
>> There is one additional system of complex numbers
>> (octonians) beyond quaternions. Are there any
>> python implementations of octonians?
> 
> I recall there being a Python module that supported geometric algebras,
> in which quaternions and octonions (not octonians) are pretty easily
> emulated, and not in a way that defeats their purpose (like matrices). 
> I know that it was posted to comp.lang.python some months or years ago;
> a Google Groups search would probably turn it up.

A largely debugged version is in my Starship cabin, now. I haven't played with
octonions specifically, yet.

http://starship.python.net/crew/kernr/source/clifford.py

-- 
Robert Kern
kern at caltech.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter



More information about the Python-list mailing list