Skip to content

Commit

Permalink
Fix documentation issues from #485
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Jun 12, 2018
1 parent 187b7d1 commit 8fdd710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/distributions/dirichlet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ use distributions::gamma::Gamma;

/// The dirichelet distribution `Dirichlet(alpha)`.
///
/// The Dirichlet distribution is a family of continuous multivariate probability distributions parameterized by
/// a vector alpha of positive reals. https://en.wikipedia.org/wiki/Dirichlet_distribution
/// The Dirichlet distribution is a family of continuous multivariate
/// probability distributions parameterized by a vector alpha of positive reals.
/// It is a multivariate generalization of the beta distribution.
///
/// # Example
Expand Down
3 changes: 2 additions & 1 deletion src/distributions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
//! - Related to real-valued quantities that grow linearly
//! (e.g. errors, offsets):
//! - [`Normal`] distribution, and [`StandardNormal`] as a primitive
//! - [`Cauchy`] distribution
//! - Related to Bernoulli trials (yes/no events, with a given probability):
//! - [`Binomial`] distribution
//! - [`Bernoulli`] distribution, similar to [`Rng::gen_bool`].
Expand All @@ -95,7 +96,7 @@
//! - [`ChiSquared`] distribution
//! - [`StudentT`] distribution
//! - [`FisherF`] distribution
//! - Related to continuous multivariate probability distributions
//! - Multivariate probability distributions
//! - [`Dirichlet`] distribution
//!
//! # Examples
Expand Down

0 comments on commit 8fdd710

Please sign in to comment.