simple-squiggle

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

hypot.js (437B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.hypotDocs = void 0;
      7 var hypotDocs = {
      8   name: 'hypot',
      9   category: 'Arithmetic',
     10   syntax: ['hypot(a, b, c, ...)', 'hypot([a, b, c, ...])'],
     11   description: 'Calculate the hypotenusa of a list with values. ',
     12   examples: ['hypot(3, 4)', 'sqrt(3^2 + 4^2)', 'hypot(-2)', 'hypot([3, 4, 5])'],
     13   seealso: ['abs', 'norm']
     14 };
     15 exports.hypotDocs = hypotDocs;