cga2d

Crates.iocga2d
lib.rscga2d
version3.0.0
created_at2024-09-21 17:46:28.860692+00
updated_at2025-08-22 17:39:59.35223+00
description2D Conformal Geometric Algebra primitives
homepage
repositoryhttps://github.com/HactarCE/cga2d
max_upload_size
id1382376
size101,802
Andrew Farkas (HactarCE)

documentation

README

cga2d

Crates.io Version docs.rs

cga2d is a library for 2D Conformal Geometric Algebra with static types for various objects. It has traits for Multivector and Blade and types for blades of each grade, in addition to Rotor, Flector, and Rotoflector.

There is currently no general-purpose multivector type with all 16 components, but I am open to adding one in the future if there is use for one.

Read [the documentation][docs] for more details.

The scalar type is f64. I'm open to adding support for other scalar types, probably via feature flags. I'd prefer not to use generics, because that would greatly hinder ergonomics.

Known issues

  • Not enough tests! I don't actually know if all the operations are implemented correctly.
Commit count: 49

cargo fmt