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:
def compute_bachet_bezout(a, b):
r = []
x = []
y = []
q = []
# Init
r.append(a)
x.append(1)
y.append(0)
q.append(0)
r.append(b)
x.append(0)
y.append(1)
q.append(0)
r = [a, b]
x = [1, 0]
y = [0, 1]
q = [0, 0]
# Computing
i = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment