nuts-rs 0.18.0

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

mod cpu_math;
mod math;
mod util;

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