Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- matriz = np.array([[2.0, 3.0], [5.0, 7.0]])
- # Inversión de la matriz:
- print(np.linalg.inv(matriz))
- print('')
- # Norma de la matriz:
- print(np.linalg.norm(matriz))
- print('')
- # Traza de la matriz:
- print(matriz.trace())
- print('')
- # Transpuesta de la matriz:
- print(matriz.transpose())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement