Dir

scalation.random.Dir
case class Dir(alpha: VectorD, stream: Int = ...)

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

Value parameters

alpha

the concentration parameters

stream

the random number stream

Attributes

See also
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def gen: VectorD
def igen: VectorI
def mean: VectorD
def pf(z: VectorD): Double

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product