Packages

case class Dir(alpha: VectoD, stream: Int = 0) extends Product with Serializable

The Dir class generates Dirichlet random variables. The Dirichlet distribution is the distribution over the space of multinomial distributions.

alpha

the concentration parameters

stream

the random number stream

See also

en.wikipedia.org/wiki/Dirichlet_distribution

www.quora.com/What-is-an-intuitive-explanation-of-the-Dirichlet-distribution

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dir
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Dir(alpha: VectoD, stream: Int = 0)

    alpha

    the concentration parameters

    stream

    the random number stream

Value Members

  1. val alpha: VectoD
  2. def gen: VectoD
  3. def igen: VectoI
  4. def mean: VectoD
  5. def pf(z: VectoD): Double
  6. val stream: Int