Symbol: XGCD — xgcd(a,b)
— Extended greatest common divisor
Domain | Codomain |
---|
a∈Zandb∈Z
| d∈Z≥0andu∈Zandv∈Z where (d,u,v)=xgcd(a,b)
|
|
Table data:
(P,Q)
such that
(P)⟹(Q)
Definitions:
Fungrim symbol | Notation | Short description |
---|
XGCD | xgcd(a,b)
| Extended greatest common divisor |
ZZ | Z
| Integers |
ZZGreaterEqual | Z≥n
| Integers greater than or equal to n |
Source code for this entry:
Entry(ID("5daceb"),
SymbolDefinition(XGCD, XGCD(a, b), "Extended greatest common divisor"),
Table(TableRelation(Tuple(P, Q), Implies(P, Q)), TableHeadings(Description("Domain"), Description("Codomain")), List(Tuple(And(Element(a, ZZ), Element(b, ZZ)), Where(And(Element(d, ZZGreaterEqual(0)), Element(u, ZZ), Element(v, ZZ)), Equal(Tuple(d, u, v), XGCD(a, b)))))))