Skip to content

MonumoLtd/SimpleGA.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.