2014-12-30 19:57:34 +01:00

29 lines
533 B
JavaScript

module.exports = {
'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',
'var'
]
};