truncnorm 0.5.1

Normal and Truncated Normal distributions
Documentation
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
#![allow(non_snake_case)]
//! `truncnorm` provides fast, high-dimensional multivariate Normal
//! and `TruncatedNormal` distributions as well as low level binding to Gaussian
//! error functions.
//!
//! I've written all this code for my dissertation work. I've put
//! some effort into correctness and speed, but both could surely be improved.
//! Rely on this code at your own risk as no guarantees can be made about it.
//! Feel free to contact me if you're interested in using this for any purpose
//! and it doesn't work 100%.
//!
//! Largely based on the Matlab [Truncated Normal and Student's t-distribution toolbox](https://www.mathworks.com/matlabcentral/fileexchange/53796-truncated-normal-and-student-s-t-distribution-toolbox)
//! and [Faddeeva C library](http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package)
//!
//! Cheers!  
//! Eleanor Quint
#[cfg(feature = "openblas-system")]
extern crate blas_src;
extern crate ndarray;
extern crate ndarray_linalg;
extern crate ndarray_rand;
extern crate ndarray_stats;
extern crate statrs;

mod dist_util;
pub mod distributions;
mod faddeeva;
pub mod tilting;
pub mod truncnorm;
mod util;

/// `erf`/`erfc` family of error functions
///
/// Uses bindings to the [faddeeva](http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package)
/// C++ package and [statrs](https://crates.io/crates/statrs)
pub mod gauss {
    pub use crate::faddeeva::{erf, erfc, erfcx};
    pub use statrs::function::erf::erfc_inv;
}