Returns a random number in between [0, 1). Please note that the random seed is bound to the evaluation interval start, so each rand() call for any interval sharing the same start time will return the same value.

An optional seed argument can be passed additionally: it will be used, along the evaluation interval start, as a seed for the random generator.

Double rand()
Double rand(Integer seed)
  • rand.txt
  • Last modified: 2019/05/18 18:02
  • by a.leofreddi