Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

inverse matrix numpy

#You can either use the included inv fucntion
M_inverse = numpy.linalg.inv(M)

#Or use the exponent notation, which is also understood by numpy
M_inverse = M**(-1)
 
PREVIOUS NEXT
Tagged: #inverse #matrix #numpy
ADD COMMENT
Topic
Name
3+2 =