nuts-rs 0.18.1

Sample from unnormalized densities using Hamiltonian MCMC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Math backends: the abstract `Math` trait and its CPU implementation backed by a user-supplied logp function.

mod cpu_math;
mod math;
mod util;

#[cfg(test)]
pub mod test_logps;

pub use cpu_math::{CpuLogpFunc, CpuMath, CpuMathError};
pub use math::{LogpError, Math};
pub(crate) use util::logaddexp;