MINVERSE

Returns the inverse matrix for the matrix stored in an array.

Syntax

MINVERSE(array)

Array   is a numeric array with an equal number of rows and columns.

Remarks

Column A

Column B

Row 1

d/(a*d-b*c)

b/(b*c-a*d)

Row 2

c/(b*c-a*d)

a/(a*d-b*c)


Examples

MINVERSE({4,-1;2,0}) equals {0,0.5;-1,2}

MINVERSE({1,2,1;3,4,-1;0,2,0}) equals {0.25,0.25,-0.75;0,0,0.5;0.75,-0.25, -0.25}

Tip   Use the INDEX function to access individual elements from the inverse matrix.