UNPKG

573 BJavaScriptView Raw
1export var distributionDocs = {
2 name: 'distribution',
3 category: 'Probability',
4 syntax: ['distribution(name)', 'distribution(name, arg1, arg2, ...)'],
5 description: 'Create a distribution object of a specific type. ' + 'A distribution object contains functions `random([size,] [min,] [max])`, ' + '`randomInt([size,] [min,] [max])` and `pickRandom(array)`. ' + 'Available types of distributions: "uniform", "normal". ' + 'Note that the function distribution is currently not available via the expression parser.',
6 examples: [],
7 seealso: ['random', 'randomInt']
8};
\No newline at end of file