NormalTen

scalation.random.NormalTen
case class NormalTen(dim: Int, dim2: Int, dim3: Int, mu: Double, sig2: Double, stream: Int) extends VariateTen

The NormalTen class generates Normal (Gaussian) random variate matrices according to the Normal distribution with scalar mean 'mu' and variance 'sig2'. This continuous RVT models multiple instances of normally distributed multidimensional data and treats the variables as identical and independent.

Value parameters

dim

the number of rows in the tensor

dim2

the number of columns in the tensor

dim3

the number of sheets in the tensor

mu

the mean

sig2

the variance (stdev^2)

stream

the random number stream

Attributes

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

Members list

Value members

Concrete 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

Inherited methods

def discrete: Boolean

Determine whether the distribution is discrete or continuous.

Determine whether the distribution is discrete or continuous.

Attributes

Inherited from:
VariateTen
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product