From 6c538d91b5c1305f4319064fee68263ff6f9eb57 Mon Sep 17 00:00:00 2001 From: DylanVsn <43576618+DylanVsn@users.noreply.github.com> Date: Mon, 10 Feb 2020 08:33:59 +0100 Subject: [PATCH] =?UTF-8?q?d=C3=A9but=20s=C3=A9ance=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2/TP20janvier_Palacios.py | 0 3/TP3_voisin.py | 24 ++++++++++++------------ 4/tp4_Voisin.py | 0 3 files changed, 12 insertions(+), 12 deletions(-) mode change 100644 => 100755 2/TP20janvier_Palacios.py mode change 100644 => 100755 4/tp4_Voisin.py diff --git a/2/TP20janvier_Palacios.py b/2/TP20janvier_Palacios.py old mode 100644 new mode 100755 diff --git a/3/TP3_voisin.py b/3/TP3_voisin.py index 9ba9763..76d13be 100755 --- a/3/TP3_voisin.py +++ b/3/TP3_voisin.py @@ -253,15 +253,15 @@ def main(argv): if __name__ == "__main__": - # main(sys.argv[1:]) - m = np.array( - [ - [2, 3], - [3, 2] - ] - ) - u1, u2, l1, l2 = diagonaliser_matrice22(m) - u1 /= np.linalg.norm(u1) - u2 /= np.linalg.norm(u2) - print(u1, u2) - print(l1, l2) \ No newline at end of file + main(sys.argv[1:]) + # m = np.array( + # [ + # [2, 3], + # [3, 2] + # ] + # ) + # u1, u2, l1, l2 = diagonaliser_matrice22(m) + # u1 /= np.linalg.norm(u1) + # u2 /= np.linalg.norm(u2) + # print(u1, u2) + # print(l1, l2) \ No newline at end of file diff --git a/4/tp4_Voisin.py b/4/tp4_Voisin.py old mode 100644 new mode 100755