mp-units
mp-units copied to clipboard
The quantities and units library for C++
Resolves #29. --- The number concepts are meant to be at a lower level than the units' library. This means that `quantity` can use it to constrain `rep`, and `quantity`...
Hi all! I'm curious if any one has looked at adding support to build this with bazel or even add it to the bazel central registry? It might not be...
Resolves #395. This is a WIP for the reference documentations. It's in a state that can build the PDF and HTML. @mpusz Please, use this PR to test #532. Instructions:...
Gated by the following issues: - [x] https://gitlab.kitware.com/cmake/cmake/-/issues/25568 - [x] https://gitlab.kitware.com/cmake/cmake/-/issues/25909 - [ ] https://gitlab.kitware.com/cmake/cmake/-/issues/25916
We allowed deriving from predefined quantity points to allow the users to provide a different name not only for a value but also for a type. This is also used...
Text input support is progressing through WG21 (https://wg21.link/p1729). A reference implementation can be found on a dev branch here: https://github.com/eliaskosunen/scnlib/tree/dev. This branch is still not provided in Conan: https://conan.io/center/recipes/scnlib.
As we discussed before, the spelling of `distance.force_in(si::metre)` may be confusing. Also, the C++ standard does not use "force" word anywhere to force a conversion. AU library is using `coerse_in(Unit)`...
This is the framework to present API reference. We can't proceed with this until the initial version of the API Reference HTML is prepared.
I'm playing around with this library, and I found some odd behavior This is to calculate the average speed of a particle in a [Maxwellian distribution](https://en.wikipedia.org/wiki/Maxwell%E2%80%93Boltzmann_distribution). I wrote something simple...
`quantity_point_traits` require `to_numerical_value` and `from_numerical_value` member functions. `quantity_point_like_traits` require `to_quantity` and `from_quantity`. This is consistent with the `quantity_point` and `std::chrono::time_point` design but is inconsistent with `quantity_point_traits` and may make it...