simple-squiggle

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

hypot.js (305B)


      1 export var hypotDocs = {
      2   name: 'hypot',
      3   category: 'Arithmetic',
      4   syntax: ['hypot(a, b, c, ...)', 'hypot([a, b, c, ...])'],
      5   description: 'Calculate the hypotenusa of a list with values. ',
      6   examples: ['hypot(3, 4)', 'sqrt(3^2 + 4^2)', 'hypot(-2)', 'hypot([3, 4, 5])'],
      7   seealso: ['abs', 'norm']
      8 };