mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
17 lines
346 B
JavaScript
17 lines
346 B
JavaScript
module.exports = {
|
|
'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' ]
|
|
};
|