#geometric-algebra #2d #ga #maths

g_2_0_0

A library to manipulate arbitrary object in the geometric algebra containing two perpendicular vectors that square to 1. Basically 2d VGA

22 unstable releases (3 breaking)

0.4.8 Feb 14, 2024
0.4.7 Jan 31, 2024
0.3.3 Jan 19, 2024
0.3.2 Sep 15, 2023
0.1.4 Sep 5, 2023

#782 in Math

Download history 85/week @ 2024-07-23 40/week @ 2024-07-30 1/week @ 2024-09-17 11/week @ 2024-09-24

169 downloads per month

GPL-3.0 license

21KB
532 lines

Library made for utilising geometric algebra with only two basis vectors each squaring to 1 or G(2, 0, 0) in common notation. The main object here is a multivector, however, there is also an exponential function allow the generation of Rotors in 2d if you prefer. This is a personal project of mine but I published it on crates in case someone finds it interesting. If you don't know about geometric algebra, check out this swift introduction: https://youtu.be/60z_hpEAtD8?si=3R4PWa4RDw0soUXw Also, vga refers to Vanilla Geometric Algebra Testing for consistent results of operations

Dependencies

~255KB