Programmer Guide/Command Reference/EVAL/rand: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 17:31, 18 November 2010

rand
rand A linear random number generator in the interval [-1,1[
rand(seed) Like rand, except if seed is >0, it is used to initialise the generator.
rand(seed, nr, nc)
seed the start value (if > 0)
nr the number of rows or elements (>=1; def.=1)
nc the number of columns (>=1; def.=1)


|}

Navigation menu

Personal tools