Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonasolson/rust-physical_constants
Rust library for the CODATA recommended values of physical constants
https://github.com/jonasolson/rust-physical_constants
Last synced: 3 months ago
JSON representation
Rust library for the CODATA recommended values of physical constants
- Host: GitHub
- URL: https://github.com/jonasolson/rust-physical_constants
- Owner: JonasOlson
- License: gpl-3.0
- Created: 2016-08-05T00:21:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-01T19:11:25.000Z (about 2 years ago)
- Last Synced: 2024-04-25T00:55:51.897Z (9 months ago)
- Language: Rust
- Size: 44.9 KB
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rust-physical_constants
Rust library providing access to the [CODATA recommended values for physical constants][codata].
## Current functionality
A constant of type `f64` is exposed for each quantity in the [CODATA 2018 table][codata 2018].
For better or for worse, at the moment,
* no quantity names have been changed beyond what is necessary to make them valid Rust identifiers,
* no omissions of possibly redundant quantities have been made, and
* none of the exact values have been recalculated for greater precision (instead, they appear with as many digits as they have in the original listing of quantities).## Possible future developments
* Use a library (like [`dimensioned`](http://paholg.com/project/dimensioned/)) to return quantities in a form that carries along their physical dimensions and their units.
* Uncertainties
* [Uncertainty correlations](http://physics.nist.gov/cuu/Correlations/)
* Previous CODATA datasets. (Note that comparisons between values from different datasets might be meaningless, as the definitions of the SI units might have changed. The old values can nevertheless be useful for reproducing old calculations.)[codata]: http://physics.nist.gov/cuu/Constants/
[codata 2018]: http://physics.nist.gov/cuu/Constants/Table/allascii.txt