Skip to main content

tpt_math_prob/
lib.rs

1//! Umbrella crate re-exporting the `tpt-math-prob-*` family behind Cargo
2//! features.
3//!
4//! # Feature matrix
5//!
6//! | Feature                     | Re-exported as | Source crate            |
7//! |-----------------------------|---------------|------------------------|
8//! | `tpt-math-prob-dist`        | `dist`        | `tpt-math-prob-dist`   |
9//! | `tpt-math-prob-bayes`      | `bayes`       | `tpt-math-prob-bayes`  |
10//! | `tpt-math-prob-markov`     | `markov`      | `tpt-math-prob-markov` |
11//! | `tpt-math-prob-monte-carlo`| `monte_carlo` | `tpt-math-prob-monte-carlo` |
12//! | `tpt-math-prob-sampler`    | `sampler`     | `tpt-math-prob-sampler`|
13//!
14//! All features are enabled by default. Disable `default-features` and opt in
15//! to only the constituents you need to keep your dependency tree small.
16
17#[cfg(feature = "tpt-math-prob-dist")]
18pub use tpt_math_prob_dist as dist;
19
20#[cfg(feature = "tpt-math-prob-bayes")]
21pub use tpt_math_prob_bayes as bayes;
22
23#[cfg(feature = "tpt-math-prob-markov")]
24pub use tpt_math_prob_markov as markov;
25
26#[cfg(feature = "tpt-math-prob-monte-carlo")]
27pub use tpt_math_prob_monte_carlo as monte_carlo;
28
29#[cfg(feature = "tpt-math-prob-sampler")]
30pub use tpt_math_prob_sampler as sampler;