A library for computing quantities in cosmology in the Rust programming language
rust
let cosmology = FLRWCosmology::two_component(0.286, 0.714, 69.6);
assert!(cosmology.radial_comoving_distance(2.0).0 > 5273.);
assert!(cosmology.radial_comoving_distance(2.0).0 < 5274.);
This project requires Rust
. Once installed:
cargo build
cargo test