scalation.random.RandomVecIR
case class RandomVecIR (dim : Int = ..., max : Int = ..., min : Int = ..., stream : Int = ...) extends VariateVec
The RandomVecIR class generates a random vector of integers with REPLACEMENT.
Value parameters
dim
the dimension/size of the vector (number of elements)
max
generate integers in the range min (inclusive) to max (inclusive) (@note: max arg first)
min
generate integers in the range min (inclusive) to max (inclusive)
stream
the random number stream
Attributes
See also
mathstat.StatBootstrap Ex: (3, 2, 0, 4, 3) has dim = 5 and max = 4.
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 vector for the particular distribution.
Determine the next random double vector for the particular distribution.
Attributes
Determine the next random integer vector for the particular distribution. It is only valid for discrete random variates.
Determine the next random integer vector for the particular distribution. It is only valid for discrete random variates.
Attributes
Compute the vector mean for the particular distribution.
Compute the vector mean for the particular distribution.
Attributes
Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.
Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.
Value parameters
z
the mass point/vector whose probability is sought
Attributes
Determine whether the distribution is discrete or continuous.
Determine whether the distribution is discrete or continuous.
Attributes
Inherited from:
VariateVec
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
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