source:
CGBLisp/latex-doc/xgcd.tex@
1
Last change on this file since 1 was 1, checked in by , 15 years ago | |
---|---|
File size: 268 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | \begin{lisp:documentation}{xgcd}{FUNCTION}{x y } |
2 | Extended gcd; the call | |
3 | (xgcd X Y) | |
4 | returns a multiple value list: | |
5 | $-$ GCD | |
6 | $-$ U,V such that they solve the equation | |
7 | GCD=U*X+V*Y | |
8 | $-$ U1,V1 such that | |
9 | LCM=U1*X=V1*Y (up to the sign). | |
10 | \end{lisp:documentation} | |
11 |
Note:
See TracBrowser
for help on using the repository browser.