lcdm
lcdm is the main facade crate for LambdaCDM-Rust.
It provides a single, ergonomic entry point that re-exports the commonly used types and modules and offers a convenient prelude.
For full documentation, design notes, equations, and implementation details, see: https://github.com/Feralthedogg/LambdaCDM-Rust
Install
Add to your Cargo.toml:
[]
= "0.1.0"
Quick Start
Build a cosmology with the builder API, then create a Cosmology model and evaluate background observables:
use *;
Growth (LSS)
Compute the linear growth factor D(z) (normalized so D(0)=1) and growth rate f(z):
use *;
Prelude
Import everything typically needed with:
use *;
This includes the builder/model types, common unit newtypes (e.g. Redshift, Mpc), selected specs (AccuracyPreset, NeutrinoSpec), and LSS helpers.
Links
- Source & full docs: https://github.com/Feralthedogg/LambdaCDM-Rust
- Crate: https://crates.io/crates/lcdm