Skip to content
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

add complete quaternion example to docs #31

Open
rgommers opened this issue May 3, 2019 · 2 comments
Open

add complete quaternion example to docs #31

rgommers opened this issue May 3, 2019 · 2 comments

Comments

@rgommers
Copy link
Member

rgommers commented May 3, 2019

There is a quaternion example in https://github.com/xnd-project/gumath/tree/master/libgumath/extending. It's about 100 LoC.

Here is the numpy dtype equivalent: https://github.com/moble/quaternion. It's about 1600 LoC, plus some support code.

It would be good to have a section in the docs called "extending" or similar, that points to quaternion.c, shows how to build it, and use it from Python. This would be a really powerful example.

@rgommers
Copy link
Member Author

@anirrudh will do this in the next couple of weeks somewhere

@rgommers
Copy link
Member Author

rgommers commented Jun 6, 2019

Just followed up on this with @anirrudh, this is >50% done and some version of this should be materializing in the next weeks:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant