Crate natural_constants
source · [−]Expand description
natural_constants: a collection of constants and helper functions
Written by Willi Kappler, Version 0.2 (2022.10.11)
Repository: https://github.com/willi-kappler/natural_constants
License: MIT
Example:
use natural_constants::physics::*;
fn main() {
let c = speed_of_light_vac;
let m0 = 100.0;
// Use c in your code:
let E = m0 * c * c;
}
Modules
Biology related constants
Chemistry related constants
Data types and utility function for conversion
Engineering related constants
Geosciences related constants
Math related constants
Miscellaneous constants
Physics related constants