M = Matrix.New({{1,2},{2,1}}) Minv = Matrix.Inverse(M) print("The inverse of the matrix M") print(M) print("is") print(Minv) print("And Minv * M is") print(Minv*M)