# definition of gcd for(x,y)

I face gcd in Loops part and I just know that it is a function,but what kind of function?and how we can define it?Could you please help me about it.

definition of gcd for(x,y)

0

I'm not clear on exactly what your question is, but here is some information.

The syntax for `gcd`

is:

```
gcd(a,b)
```

You can get help on the `gcd`

command by typing `gcd?`

at the prompt. If you want to see the details of Sage's `gcd`

code, you can type `gcd??`

at the prompt.

Asked: **
2013-01-13 03:01:11 -0500
**

Seen: **443 times**

Last updated: **Jan 13 '13**

defining multivariate piecewise function

sage recursive functions programming

Replacing functions in a equation

Map a function to each element of a matrix?

Substitute expression for function in differential equation

Can sage compute the inverse of a function?

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

I guess the context here is given by http://en.wikipedia.org/wiki/GCD_test. This is off-topic.