Skip to content

Commit

Permalink
Implement Weibull distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
vks committed Jul 30, 2018
1 parent af8aa52 commit 40e2c94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/distributions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
//! - Related to the occurrence of independent events at a given rate:
//! - [`Poisson`] distribution
//! - [`Exp`]onential distribution, and [`Exp1`] as a primitive
//! - [`Weibull`] distribution
//! - Gamma and derived distributions:
//! - [`Gamma`] distribution
//! - [`ChiSquared`] distribution
Expand Down Expand Up @@ -173,6 +174,7 @@
//! [`Uniform::new_inclusive`]: struct.Uniform.html#method.new_inclusive
//! [`UnitSphereSurface`]: struct.UnitSphereSurface.html
//! [`UnitCircle`]: struct.UnitCircle.html
//! [`Weibull`]: struct.Weibull.html
//! [`WeightedIndex`]: struct.WeightedIndex.html

use Rng;
Expand All @@ -192,6 +194,7 @@ pub use self::bernoulli::Bernoulli;
#[cfg(feature="std")] pub use self::binomial::Binomial;
#[cfg(feature="std")] pub use self::cauchy::Cauchy;
#[cfg(feature="std")] pub use self::dirichlet::Dirichlet;
#[cfg(feature="std")] pub use self::weibull::Weibull;

pub mod uniform;
mod bernoulli;
Expand All @@ -206,6 +209,7 @@ mod bernoulli;
#[cfg(feature="std")] mod binomial;
#[cfg(feature="std")] mod cauchy;
#[cfg(feature="std")] mod dirichlet;
#[cfg(feature="std")] mod weibull;

mod float;
mod integer;
Expand Down

0 comments on commit 40e2c94

Please sign in to comment.