Top
Back: frwalk
Forward: gen
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.43 gcd

Syntax:
gcd ( int_expression, int_expression )
gcd ( bigint_expression, bigint_expression )
gcd ( number_expression, number_expression )
gcd ( poly_expression, poly_expression )
Type:
the same as the type of the arguments
Purpose:
computes the greatest common divisor.
Note:
Not implemented for the coefficient fields real and finite fields of type (p^n,a).
The gcd of two numbers is their gcd as integer numbers or polynomials, otherwise it is not defined.
Example:
 
See bigint; extgcd; int; number.

Top Back: frwalk Forward: gen FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.