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) 650 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.minDocs = void 0; const minDocs = exports.minDocs = { name: 'min', category: 'Statistics', syntax: ['min(a, b, c, ...)', 'min(A)', 'min(A, dimension)'], description: 'Compute the minimum value of a list of values. If any NaN values are found, the function yields the last NaN in the input.', examples: ['min(2, 3, 4, 1)', 'min([2, 3, 4, 1])', 'min([2, 5; 4, 3])', 'min([2, 5; 4, 3], 1)', 'min([2, 5; 4, 3], 2)', 'min(2.7, 7.1, -4.5, 2.0, 4.1)', 'max(2.7, 7.1, -4.5, 2.0, 4.1)'], seealso: ['max', 'mean', 'median', 'prod', 'std', 'sum', 'variance'] };