dimforge / dimforge/nalgebra

Add a dimension generic Rotor type

Open
#532 16 comments 8 reactions 0 assignees View on GitHub
enhancement P-medium
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

There are already dimension generic Vector types, but there's only a rotation type for 3D: the quaternion.

It's possible to implement general rotors.

3D rotors correspond to quaternions, 2D rotors correspond to complex numbers, and lower dimension rotors don't exist.

This would allow to represent rotations in higher dimensions and to generalize the rotations for writing dimension generic libraries like for physics.

Maybe implementing it requires implementing most of a geometric algebra, so it may be preferred to just implement geometric algebra in a more general way as an extra crate.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.