-
Notifications
You must be signed in to change notification settings - Fork 37
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
Should Complex
be convertible to Quaternion
?
#62
Comments
I agree there is not natural embedding of But this is orthogonal to the error at the beginning, which is because Quaternions has its own Quaternions.jl/src/Quaternion.jl Lines 21 to 22 in 23a8212
Base.imag needs to be explicitly called here. This is repaired in #56, but a separate PR to fix the bug wouldn't be a bad thing.
|
Yes, there has been a quick fix for the conversion issue around in #40 (ignoring the general embedding issue). |
The bug was fixed in #52 |
We already have constructor and
convert
method fromComplex
toQuaternion
.However, we still missing the following methods
+
and*
.I think we have the following choices to solve this problem.
convert
methodI don't know the practical benefit of converting from
Complex
toQuaternion
, so I prefer the first.Related comment: #29 (comment)
The text was updated successfully, but these errors were encountered: