simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

max.js (575B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.maxDocs = void 0;
      7 var maxDocs = {
      8   name: 'max',
      9   category: 'Statistics',
     10   syntax: ['max(a, b, c, ...)', 'max(A)', 'max(A, dim)'],
     11   description: 'Compute the maximum value of a list of values.',
     12   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)'],
     13   seealso: ['mean', 'median', 'min', 'prod', 'std', 'sum', 'variance']
     14 };
     15 exports.maxDocs = maxDocs;