simple-squiggle

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

mad.js (520B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.madDocs = void 0;
      7 var madDocs = {
      8   name: 'mad',
      9   category: 'Statistics',
     10   syntax: ['mad(a, b, c, ...)', 'mad(A)'],
     11   description: 'Compute the median absolute deviation of a matrix or a list with values. The median absolute deviation is defined as the median of the absolute deviations from the median.',
     12   examples: ['mad(10, 20, 30)', 'mad([1, 2, 3])'],
     13   seealso: ['mean', 'median', 'std', 'abs']
     14 };
     15 exports.madDocs = madDocs;