MonumoLtd / SimpleGA.jl

Geometric algebra in Julia.
MIT License
23 stars 2 forks source link

SimpleGA

A simple, fast implementation of Geometric Algebra in Julia. The emphasis is on the geometric product. Inner and outer products are defined in terms of the geometric product.

Stable Dev

License: MIT Build Status Coverage Code Style: Blue ColPrac: Contributor's Guide on Collaborative Practices for Community Packages

Installation

Install:

julia>]
pkg> add SimpleGA

Start using the package. SimpleGA builds on some functionality in LinearAlgebra, so make sure you are using this.

using LinearAlgebra
using SimpleGA

Example

Check out the documentation for more examples check out the documentation.

e = GA20.basis  # Creates a 2D basis, named 'e'.
a = e[1] + e[2]
b = 2.0*e[1] + 3*e[2] 
a*b  # Evaluates the geometric product of a and b.