geometric_algebra

Crates.iogeometric_algebra
lib.rsgeometric_algebra
version0.3.0
sourcesrc
created_at2021-04-04 14:59:31.80826
updated_at2023-09-20 15:19:53.377055
descriptionGenerate(d) custom libraries for geometric algebras
homepage
repositoryhttps://github.com/Lichtso/geometric_algebra/
max_upload_size
id378825
size3,611,056
Alexander Meißner (Lichtso)

documentation

README

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

Supported SIMD ISAs

  • x86, x86_64: sse2
  • arm, aarch64: neon
  • wasm32: simd128
Commit count: 45

cargo fmt