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

QVM support #97

Closed
gitboosting opened this issue Oct 29, 2023 · 7 comments
Closed

QVM support #97

gitboosting opened this issue Oct 29, 2023 · 7 comments

Comments

@gitboosting
Copy link

gitboosting commented Oct 29, 2023

I am wondering if there's a plan to support qvm: https://www.boost.org/doc/libs/1_80_0/libs/qvm/doc/html/index.html

I analyze data from sensors (e.g. accelerometers, gyroscopes, ...) in inertial measurement units and could benefit greatly with algorithms in quaternions, vectors and matrices.

@eddelbuettel
Copy link
Owner

Yes, could do -- see old issue tickets for other requests we honoured in the past.

Can you confirm that it is header-only and does not require linking?

@gitboosting
Copy link
Author

Thanks for your kind response.

It says on qvm's repo (https://github.com/boostorg/qvm) that it is header-only. But please let me know if there are ways to confirm it besides taking what it says on face value. Thanks again.

QVM is included in official Boost releases.
For maximum portability, the library is also available in single-header format, in two variants (direct download links):

  • qvm.hpp: single header containing the complete QVM source, including the complete set of swizzling overloads.
  • qvm_lite.hpp: single header containing everything except for the swizzling overloads.

@eddelbuettel
Copy link
Owner

Yes, that's what I saw too (and I had never seen a possible libboost_qvm library either) but as you appear to be a user I thought I might as well as you :) And yes, language of 'single header' confirms that too.

eddelbuettel added a commit that referenced this issue Dec 17, 2023
eddelbuettel added a commit that referenced this issue Dec 17, 2023
* Adding qvm and timer (closes #84 #97)

* Update script to include qvm and timer
@eddelbuettel
Copy link
Owner

This will be in BH 1.84.0 which I am preparing. There are very minor repurcussions with five packages so this will be on CRAN in January. Until then you can get it from here, or from the r-universe builds and I may add it to the ghrr drat as well.

@gitboosting
Copy link
Author

@eddelbuettel This is wonderful. Thank you. Happy New Year.

@eddelbuettel
Copy link
Owner

Just waiting for CRAN to reopen...

@eddelbuettel
Copy link
Owner

BH 1.84.0-0 is now at CRAN, with QVM. Thanks for the suggestion, and your patience!

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

No branches or pull requests

2 participants