Generates random values from a variate X, where X describes the selected distribution type. You must manually select the polymorphic instance to use.


icon

Inputs/Outputs

  • cbool.png reset

    reset, if TRUE, resets the seed to the seed control value. The default is FALSE.

  • ci32.png samples

    samples specifies the number of samples the output array contains. samples must be greater than or equal to 0. The default is 128.

  • ci32.png M

    M is the number of elements in the population.

  • ci32.png k

    k is the number of successes in the population.

  • ci32.png n

    n is the number of items drawn without replacement.

  • ci32.png seed

    seed, when greater than 0, causes reseeding of the noise sample generator. The default is –1.

  • i1di32.png hypergeometric random data

    hypergeometric random data contains randomized data distributed according to the hypergeometric distribution.

  • ii32.png error

    error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.