DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Expressions and polynomials
  5. Greatest common divisor (gcd)

en:calc:commands:expressions_polynomials:gcd

Greatest common divisor (gcd)

Returns the greatest common divisor of two polynomials. The greatest common divisor of a quotient of polynomials is defined as

g c d open parentheses p over q comma r over s close parentheses equals fraction numerator g c d left parenthesis p comma r right parenthesis over denominator l c m left parenthesis q comma s right parenthesis end fraction

Syntax

gcd(Polynomial, ..., Polynomial)

Description

gcd(Polynomial, ..., Polynomial)

Given a set of polynomials, returns its greatest common divisor.

Related functions

Least common multiple (lcm), Extended gcd

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.