prodef 0.2.2

A simple Rust crate for handling probability distributions, primarily intended for use with Bayesian inference.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Converts a value to `T`.
macro_rules! tval {
    ($expr:expr, usize) => {
        T::from_usize($expr).unwrap()
    };
    ($expr:expr, f64) => {
        T::from_f64($expr).unwrap()
    };
}

pub(crate) use tval;