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

8 lines 455 B
export var maxDocs = { name: 'max', category: 'Statistics', syntax: ['max(a, b, c, ...)', 'max(A)', 'max(A, dimension)'], description: 'Compute the maximum value of a list of values.', examples: ['max(2, 3, 4, 1)', 'max([2, 3, 4, 1])', 'max([2, 5; 4, 3])', 'max([2, 5; 4, 3], 1)', 'max([2, 5; 4, 3], 2)', 'max(2.7, 7.1, -4.5, 2.0, 4.1)', 'min(2.7, 7.1, -4.5, 2.0, 4.1)'], seealso: ['mean', 'median', 'min', 'prod', 'std', 'sum', 'variance'] };