Possibly most complete and correct implementation of dual quaternions in Rust.
Implementation of dual quaternions uses nalgebra and is heavily inspired by dual_num.
- With
pow
, you can do - you can do ln().exp() but exp().ln() doens't work due to nilpotence (you lose information).
- With dual numbers, you can't use powers >=2.0 as that loses information. (???)
https://github.com/potan/dual.rs/blob/master/src/lib.rs
https://blog.demofox.org/2014/12/30/dual-numbers-automatic-differentiation/
https://github.com/hoechp/ultracomplexmath/blob/954c19190e/src/util/hypercomplex/Dual.java
-
conjugates
-
homogenous matrix conversion
-
why doesn't a.pow(4.0).pow(1.0/4.0) == a? should it
- randomization
- fixed trigonometry
- pow -> slerp