inverse matrix python
import numpy as np
# X is the matrix to invert
X_inverted = numpy.linalg.inv(X)
inverse matrix python
import numpy as np
# X is the matrix to invert
X_inverted = numpy.linalg.inv(X)
inverse matrice python
>>> import numpy as np
>>> A = np.array(([1,3,3],[1,4,3],[1,3,4]))
>>> A
array([[1, 3, 3],
[1, 4, 3],
[1, 3, 4]])
>>> A_inv = np.linalg.inv(A)
>>> A_inv
array([[ 7., -3., -3.],
[-1., 1., 0.],
[-1., 0., 1.]])
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us