cga2d

Crates.iocga2d
lib.rscga2d
version0.4.0
sourcesrc
created_at2024-09-21 17:46:28.860692
updated_at2024-09-25 22:06:56.706708
description2D Conformal Geometric Algebra primitives
homepage
repositoryhttps://github.com/HactarCE/cga2d
max_upload_size
id1382376
size70,590
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: 32

cargo fmt