rand#
- swordfish.function.rand()#
Return a random scalar/vector/matrix of the same data type as X.
If X is a scalar, X must be a positive numerical value. Random values are generated following a uniform distribution on [0, X).
If X is a vector, random values are drawn from the elements of X.