-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quaternionic unitary group #506
Conversation
They can be supported by expanding each quaternion into its 2x2 complex matrix representation, which become blocks in a matrix with But I think it's best to handle this kind of thing at the level of the quaternion implementation, not here. e.g. Quaternions.jl had JuliaGeometry/Quaternions.jl#46 for adding support for matrix exponential, and this could be expanded to support all matrix functions. Are there fallbacks to for Why |
Codecov Report
@@ Coverage Diff @@
## master #506 +/- ##
=======================================
Coverage 98.87% 98.87%
=======================================
Files 96 96
Lines 8714 8735 +21
=======================================
+ Hits 8616 8637 +21
Misses 98 98
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
Thanks, I didn't know that.
OK, so I won't work on that here in this PR. Currently there are no such fallbacks but they will be easy to add when quaternionic matrix exp is available.
Mostly to be consistent with the existing |
I think for Orthogonal and Unitary there is different terms and names, so that's why I preferred to split that, but for complex or quaternionic Unitary the field should be fine. |
Co-authored-by: Ronny Bergmann <[email protected]>
This should solve #382 .
exp
andlog
are currently only supported for the n=1 case because I couldn't find a generic quaternionic matrix exponential and logarithm.Also, plain numbers should also work for
QuaternionicUnitary(1)
.