-
Notifications
You must be signed in to change notification settings - Fork 145
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
Quaternion Math #35
Comments
Hi @pashabou -- quaternions are definitely in-scope, this is a reasonable suggestion. A couple quick notes:
|
Hi @pashabou and @stephentyrone, I just raised a PR with an implementation sketch for Quaternions. While the PR already lists all the implementation details, I would like to mention, that I am really liking the implementation of the I have stripped most of the functionality from my initial implementation sketch down to simply having a PR with only the |
@markuswntr Thanks! As a heads-up, I'm a little bit swamped for the next few days, but I'll give your PR a quick skim, then provide more detailed feedback sometime next week. |
Hi @stephentyrone! Thanks for the heads-up. There is no hurry. |
Since the Numerics modules cover complex numbers and operations, and you mentioned here (#6) that ShapedArrays are within the scope of the project, would quaternion math and possibly other algebras fall under the scope of Swift Numerics as well?
Use cases include everywhere 3D rotation is used, from games and visualization to simulation and control systems. A well-tested and well-documented implementation would be a big boon for a new math library. Some quick googling shows this is not in the C++ STL or a standard part of NumPy, but it is a standard part of MATLAB and part of Accelerate (maybe better suited as part of an update/rewrite of Accelerate?).
The text was updated successfully, but these errors were encountered: