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

8 lines
256 B
JavaScript
Raw Normal View History

export var gcdDocs = {
name: 'gcd',
category: 'Arithmetic',
syntax: ['gcd(a, b)', 'gcd(a, b, c, ...)'],
description: 'Compute the greatest common divisor.',
examples: ['gcd(8, 12)', 'gcd(-4, 6)', 'gcd(25, 15, -10)'],
seealso: ['lcm', 'xgcd']
};