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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product