-
Notifications
You must be signed in to change notification settings - Fork 2
Library for Geometric Algebra in Haskell
License
ijt/hga
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
HGA: Haskell Geometric Algebra issac.trotts@gmail.com Issac Trotts This is an implementation of Geometric Algebra, also known as Clifford Algebra. For ideas on how to use it, see http://en.wikipedia.org/wiki/Geometric_algebra. Examples: $ ghci Prelude> :load "Hga.hs" [1 of 1] Compiling Hga ( Hga.hs, interpreted ) Ok, modules loaded: Hga. *Hga> 4 * (vector [1,0] + vector[2,3]) * (vector[0,1]) 12.0 + 12.0`e`[1,2] *Hga> test_hga ... Reverse of a trivector is negated passed. vector inverse: +++ OK, passed 100 tests. Limitations: For now, the only numerical type allowed for coordinates is Double. I'll probably change it to arbitrary Nums later on. This module currently represents only Euclidean spaces. I plan to extend it to non-Euclidean spaces by making Multivector a typeclass with a signature method.
About
Library for Geometric Algebra in Haskell
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published