No description
Find a file
2021-06-18 20:57:20 +02:00
.github/workflows Adds more prebuilt projective geometric algebras. 2021-04-21 19:06:05 +02:00
codegen Bump version [skip ci] 2021-04-24 10:11:29 +02:00
src Fixes target arch detection. 2021-06-18 20:57:20 +02:00
.gitignore Implements code generator for Rust and GLSL. 2021-03-27 15:09:46 +01:00
Cargo.toml Bump version [skip ci] 2021-04-24 10:11:29 +02:00
LICENSE Initial commit 2021-03-14 19:50:36 +01:00
README.md Adds more prebuilt projective geometric algebras. 2021-04-21 19:06:05 +02:00

actions Docs crates.io

About

This repository allows you to describe geometric algebras with 1 to 16 generator elements and generate SIMD-ready, dependency-less libraries for them. It also comes with a set of prebuilt projective geometric algebras in 1D, 2D and 3D which are elliptic, parabolic (euclidian) or hyperbolic.

Architecture

  • DSL Parser: See examples
  • Algebra: Generates the multiplication tables
  • Compiler: Constructs an AST from the multiplication tables
  • Optimizer: Simplifies the AST
  • Legalizer: Inserts missing expressions in the AST
  • Emitter: Serializes the AST to source code