simple-squiggle

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

std.js (669B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.stdDocs = void 0;
      7 var stdDocs = {
      8   name: 'std',
      9   category: 'Statistics',
     10   syntax: ['std(a, b, c, ...)', 'std(A)', 'std(A, normalization)'],
     11   description: 'Compute the standard deviation of all values, defined as std(A) = sqrt(variance(A)). Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',
     12   examples: ['std(2, 4, 6)', 'std([2, 4, 6, 8])', 'std([2, 4, 6, 8], "uncorrected")', 'std([2, 4, 6, 8], "biased")', 'std([1, 2, 3; 4, 5, 6])'],
     13   seealso: ['max', 'mean', 'min', 'median', 'prod', 'sum', 'variance']
     14 };
     15 exports.stdDocs = stdDocs;