VariateTen

scalation.random.VariateTen
abstract class VariateTen(stream: Int)

Value parameters

stream

the random number stream (0 until N_STREAMS)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NormalTen
class RandomTenD

Members list

Value members

Abstract methods

def gen: TensorD

Determine the next random double tensor for the particular distribution.

Determine the next random double tensor for the particular distribution.

Attributes

def igen: TensorD

Determine the next random integer tensor for the particular distribution. It is only valid for discrete random variates.

Determine the next random integer tensor for the particular distribution. It is only valid for discrete random variates.

Attributes

def mean: TensorD

Compute the tensor mean for the particular distribution.

Compute the tensor mean for the particular distribution.

Attributes

def pf(z: TensorD): Double

Compute the probability function (pf): The probability density function (pdf) for continuous RVT's or the probability mass function (pmf) for discrete RVT's.

Compute the probability function (pf): The probability density function (pdf) for continuous RVT's or the probability mass function (pmf) for discrete RVT's.

Value parameters

z

the mass point/tensor whose probability is sought

Attributes

Concrete methods

def discrete: Boolean

Determine whether the distribution is discrete or continuous.

Determine whether the distribution is discrete or continuous.

Attributes