simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/statistics/max.js

8 lines
449 B
JavaScript
Raw Normal View History

export var maxDocs = {
name: 'max',
category: 'Statistics',
syntax: ['max(a, b, c, ...)', 'max(A)', 'max(A, dim)'],
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']
};