Skip to content

Odin implementation of Geometric Algebra

License

Notifications You must be signed in to change notification settings

softmonkey/odin-geoalg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geometric Algebra for Odin

An implementation of Geometric Algebra for in the Odin language. Other algebras will come as needed - issues welcome.

Supported Algebras

Currently available for f32. Plan to add support for f16 and f64 later - submit an issue if needed.

Notes

  • Formating of multi-vectors uses unicode for basis vectors and colors for additional clarity (on dark backgrounds at least). For example:
    point on plane: [0.200e₀₂₁, 1.400e₀₃₂, 1.000e₁₂₃]
    These features can be disabled if prefered then we prefer to avoid confusion with the exponential notation. Without Unicode, formating a multi-vector will result in:
    [1.000e0, 2.000e1, -1.500e2, -3.000e0e1]
    
    The use of unicode is just for pretty formating, the basis vector constants for each algebra are addressed as regular characters.

Examples

Coming soon!

About

Odin implementation of Geometric Algebra

Resources

License

Stars

Watchers

Forks

Languages