scalation.random.RandomMatD
case class RandomMatD (dim : Int , dim2 : Int , max : Double , min : Double , density : Double , stream : Int ) extends VariateMat
The RandomMatD
class generates a random matrix of doubles.
Value parameters
density
sparsity basis = 1 - density
dim
the number of rows in the matrix
dim2
the number of columns in the matrix
max
generate integers in the range 0 (inclusive) to max (inclusive)
min
generate integers in the range 0 (inclusive) to max (inclusive)
stream
the random number stream
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Determine the next random double matrix for the particular distribution.
Determine the next random double matrix for the particular distribution.
Attributes
Determine the next random integer matrix for the particular distribution. It is only valid for discrete random variates.
Determine the next random integer matrix for the particular distribution. It is only valid for discrete random variates.
Attributes
Compute the matrix mean for the particular distribution.
Compute the matrix mean for the particular distribution.
Attributes
Compute the probability function (pf): The probability density function (pdf) for continuous RVM's or the probability mass function (pmf) for discrete RVM's.
Compute the probability function (pf): The probability density function (pdf) for continuous RVM's or the probability mass function (pmf) for discrete RVM's.
Value parameters
z
the mass point/matrix whose probability is sought
Attributes
Determine whether the distribution is discrete or continuous.
Determine whether the distribution is discrete or continuous.
Attributes
Inherited from:
VariateMat
Attributes
Inherited from:
Product
Attributes
Inherited from:
Product