GCD

From iMath
Revision as of 17:35, 8 July 2017 by Jrheinlaender (Talk | contribs) (Created page with "{{Keyword | <code>GCD ( expression, expression )</code> | Calculate the greatest common divisor of two expressions. The expressions may be polynomials or numbers. | 3=...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

GCD ( expression, expression )


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Calculate the greatest common divisor of two expressions. The expressions may be polynomials or numbers.


Example

EXDEF GCD(4 x y + x z + 20 y^2 + 21 y z + 4 z^2, x y + 3 x z + 5 y^2 + 19 y z + 12 z^2) will give the result x + 5 y + 4 z.

See also

LCM