natural_constants

Build Status MIT licensed

Pre-defined constants from all disciplines (math, physics, ...) as a Rust library.

Currently the following modules exist:

It's far from complete. So if your favorite constant is missing, just let me know.

What should go in ? Everything that you think is useful. Some constants may fit into multiple modules - we then have to decide which one.

Well simple characters are often used ("overloaded") by various constants, so to avoid ambiguity the full name is used.

Well no one stops you from doing s.th. like this:

```rust extern crate naturalconstants; use naturalconstants::physics::*;

fn main() { let c = speedoflight_vac; let m0 = 100.0;

// Use c in your code:
let E = m0 * c * c;

} ```

This is an ongoing effort to make Rust more suitable for scientific / numeric computing, you can join the discussion here.

Other useful numeric / scientific crates:

More here: