simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/arithmetic/hypot.js

8 lines
305 B
JavaScript
Raw Normal View History

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