Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python find inverse of matrix

import numpy as np
  
# Taking a 3 * 3 matrix
A = np.array([[6, 1, 1],
              [4, -2, 5],
              [2, 8, 7]])
  
# Calculating the inverse of the matrix
print(np.linalg.inv(A))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #find #inverse #matrix
ADD COMMENT
Topic
Name
7+2 =