début séance 5
This commit is contained in:
parent
48adbba2b3
commit
6c538d91b5
0
2/TP20janvier_Palacios.py
Normal file → Executable file
0
2/TP20janvier_Palacios.py
Normal file → Executable file
@ -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)
|
||||
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)
|
0
4/tp4_Voisin.py
Normal file → Executable file
0
4/tp4_Voisin.py
Normal file → Executable file
Reference in New Issue
Block a user