Difference between revisions of "Error Messages/40498"
AManandhar (talk | contribs) m (Created page with '= Error Message Examples = The first parameter, dist, to Function Random, if specified, must be an explicit call to a distribution function that supports single samples, such …') |
AManandhar (talk | contribs) m (→Cause) |
||
Line 11: | Line 11: | ||
You passed a value other than a distribution function to the '''dist''' parameter to the [[Random]] function. | You passed a value other than a distribution function to the '''dist''' parameter to the [[Random]] function. | ||
− | Please click on the following link to see [[Random#Examples|examples]] on using the Random function. | + | Please click on the following link to see a few [[Random#Examples|examples]] on using the Random function. |
= Remedies = | = Remedies = |
Revision as of 19:54, 25 January 2010
Error Message Examples
The first parameter, dist, to Function Random, if specified, must be an explicit call to a distribution function that supports single samples, such as Uniform or Normal. For example, Random( Uniform(0,100,integer:true)) would return a uniformly distributed integer between 0 and 100 inclusive.
Cause
You passed a value other than a distribution function to the dist parameter to the Random function.
Please click on the following link to see a few examples on using the Random function.
Remedies
Pass one of the distribution functions to the dist parameter to Random function. The dist parameter is an optional parameter and defaults to Uniform(0,1) if not specified.
Comments
<comments />
Enable comment auto-refresher