rand
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Generation of linear distributed pseudo random numbers in the interval -1 ≤ r < 1
.
- Usage 1
rand
- Result 1
- Returns a pseudo random number.
- Usage 2
rand(seed {, nr {, nc}})
- seed
- if this value is not equal 0, it is used to initialize the random number generator
- nr
- number of rows of the result (default=1)
- nc
- number of columns of the result (default=1)