UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

14 lines (13 loc) 710 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.distributionDocs = void 0; const distributionDocs = exports.distributionDocs = { name: 'distribution', category: 'Probability', syntax: ['distribution(name)', 'distribution(name, arg1, arg2, ...)'], 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.', examples: [], seealso: ['random', 'randomInt'] };