calculating inverse of a matrix formjula code example Example: numpy function for calculation inverse of a matrix # python3 inversion of matrix x inverse = numpy.linalg.inv(x)