With the invert command, together with a matrix with elements [4,0,0],[0,0,-2],[1,-2,4]; the adjoint matrix is used to obtain the inverse matrix, resulting in matrix([1/4,0,0],[1/8,-1,-1/2],[0,-1/2,0])