User Tools

Site Tools


com:rnd

RND Command

RND,<var>,<numsamples>,<dist>,<param1>,…,<paramX>

This command fills a variable with a random number list. This command will overwrite any data that is currently in the variable.

  • var - variable name
  • numsamples - number of values the variable will have after this command
  • dist Random distribution type
    • UNI - uniform (double floating point)
    • UNIINT - uniform (integer)
    • NORM - Normal
    • LOGNORM - Lognormal
    • POISSON - poisson
  • param - parameters for the distribution random
    • UNI, UNINT
      • param1 - minimum of distribution range
      • param2 - maximum of distribution range
    • NORM, LOGNORM
      • param1 - mean of distribution
      • param2 - standard deviation of distribution
    • POSSION
      • param1 - mean of distribution
com/rnd.txt · Last modified: 2016/11/08 12:10 by phil