Skip to content
Snippets Groups Projects
Commit 53374af2 authored by gawen.ackerman's avatar gawen.ackerman :robot:
Browse files

modif init bachet bezout

parent af25cad9
No related branches found
No related tags found
No related merge requests found
{
"files.associations": {
"*.bin": "code-text-binary",
"string.h": "c"
}
}
\ No newline at end of file
...@@ -94,21 +94,12 @@ class Polynomial: ...@@ -94,21 +94,12 @@ class Polynomial:
def compute_bachet_bezout(a, b): def compute_bachet_bezout(a, b):
r = []
x = []
y = []
q = []
# Init # Init
r.append(a)
x.append(1) r = [a, b]
y.append(0) x = [1, 0]
q.append(0) y = [0, 1]
q = [0, 0]
r.append(b)
x.append(0)
y.append(1)
q.append(0)
# Computing # Computing
i = 1 i = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment