Quaternions.jl
Quaternions.jl copied to clipboard
A Julia implementation of quaternions
Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 2. Release notes Sourced from julia-actions/cache's releases. v2.0.0 Breaking Changes ⚠️ v2.0.0 requires node20. This is a breaking change, because node20 does not support the...
It appears that some `Base` functions extended to `::Quaternion` arguments contribute their own docstrings that are near-verbatim repeats of the existing versions from `Base`. They don't provide any new information...
We used to be able to use `Symbolics.Num` in quaternions but https://github.com/JuliaGeometry/Quaternions.jl/pull/122/ broke our workflow; see https://github.com/dionysos-dev/Dionysos.jl/issues/211 The issue is that `isinf` is not defined for `Num` types defined in...
The `inv` function doesn't work for quaternions of `Symbolics.Num` type: ```julia julia> using Quaternions, Symbolics julia> q = quat(Num.([0,0,0,1])...) Quaternion{Num}(0, 0, 0, 1) julia> inv(q) ERROR: MethodError: /(::Quaternion{Num}, ::Num) is...
Quaternions can be represented as $2 \times 2$ complex matrices whose matrix product preserves the Hamilton product. This means that one can map an $n \times n$ quaternion matrix to...
Quaternion matrix exponential added using a quick detour to complex representation.
It's becoming common in the ecosystem to add ChainRules rules for functions that use features that are problematic or slow for certain AD packages, like mutation, loops, or control flow....
I propose in addition to the dual quaternions docs page introduced in #92 we add 2 more docs pages: - Representing rotations with unit quaternions - Extending complex analytic functions...
Since `Octionion` has been split into Octonions.jl, both Quaternions.jl and Octonions.jl exports `imag_part`. This causes the following problem: ```julia julia> using Quaternions, Octonions julia> imag_part WARNING: both Octonions and Quaternions...
With #56, we would be able to extend a number of special functions to the quaternions. Currently, via DualNumbers, this package already depends on SpecialFunctions, so it wouldn't increase the...