Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from scipy.linalg import hilbert
- hmatrix=hilbert(8)
- #1,2,-1
- wskkolumnowa=np.linalg.cond(hmatrix,1)
- wskspektralna=np.linalg.cond(hmatrix,2)
- wskwierszowa=np.linalg.cond(hmatrix,-1)
- print("Współczynniki")
- print("Norma kolumnowa: " ,wskkolumnowa)
- print("Norma wskspektralna)
- print(wskwierszowa)
Add Comment
Please, Sign In to add comment