# 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: **314 times**

Last updated: **Jan 13 '13**

Is there a simple way to deal with computing real nth roots for n a natural number?

how to create a matrix valued function?

Reliable integer root function?

Why Sage cannot pass a value of variable from one function to another nested function?

How to substitute a function within derivatives?

plot issue with a self-defined piecewise function

how to use file to save a huge list data...and use the list elements from the file in sage?

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.