Difference between revisions of "GCD Command"
From GeoGebra Manual
Line 3: | Line 3: | ||
{{Alternate Language|region=US|page_type=Command|US_version=GCD|non-US_version=HCF}} | {{Alternate Language|region=US|page_type=Command|US_version=GCD|non-US_version=HCF}} | ||
− | ; GCD[Number a, Number b]: Calculates the greatest common divisor of numbers ''a'' and ''b''. | + | ; GCD[Number a, Number b] |
− | ; GCD[List of Numbers]: Calculates the greatest common divisor of the list of numbers. | + | : Calculates the greatest common divisor of numbers ''a'' and ''b''. |
+ | ; GCD[List of Numbers] | ||
+ | : Calculates the greatest common divisor of the list of numbers. | ||
==CAS Syntax== | ==CAS Syntax== | ||
+ | ;GCD[ <Number , Number> ] | ||
+ | :Calculates the greatest common divisor of the two numbers . | ||
+ | ;GCD[ <List of Numbers> ] | ||
+ | : Calculates the greatest common divisor of the list of numbers. | ||
+ | ;GCD[ <Polynomial>, <Polynomial> ] | ||
+ | : Calculates the greatest common divisor of the two polynomials. | ||
+ | ;GCD[ <List of Polynomials> ] | ||
+ | : Calculates the greatest common divisor of the list of polynomials. |
Revision as of 21:46, 8 August 2011
This command differs among variants of English:
|
- GCD[Number a, Number b]
- Calculates the greatest common divisor of numbers a and b.
- GCD[List of Numbers]
- Calculates the greatest common divisor of the list of numbers.
CAS Syntax
- GCD[ <Number , Number> ]
- Calculates the greatest common divisor of the two numbers .
- GCD[ <List of Numbers> ]
- Calculates the greatest common divisor of the list of numbers.
- GCD[ <Polynomial>, <Polynomial> ]
- Calculates the greatest common divisor of the two polynomials.
- GCD[ <List of Polynomials> ]
- Calculates the greatest common divisor of the list of polynomials.