Difference between revisions of "Manuals/calci/MATRIXINVERSE"

From ZCubes Wiki
Jump to navigation Jump to search
Line 35: Line 35:
 
\end{bmatrix}}</math>
 
\end{bmatrix}}</math>
 
  where A=(ei-fh); B=-(di-fg);C=(dh-eg); D=-(bi-ch); E=(ai-cg); F=-(ah-bg); G=(bf-ce)  H=-(af-cd);I=(ae-bd)
 
  where A=(ei-fh); B=-(di-fg);C=(dh-eg); D=-(bi-ch); E=(ai-cg); F=-(ah-bg); G=(bf-ce)  H=-(af-cd);I=(ae-bd)
 +
 +
==Examples==
 +
1. MATRIXINVERSE([4,7;2,6])
 +
{| class="wikitable"
 +
|-
 +
| 0.6 || -0.7
 +
|-
 +
| -0.2 || 0.4
 +
|}
 +
2. MATRIXINVERSE([1,2,3;0,1,4;5,6,0])
 +
{| class="wikitable"
 +
|-
 +
| -24 || 18 || 5
 +
|-
 +
| 20 || -15 || -4
 +
|-
 +
| -5 || 4 || 1
 +
|}
 +
 +
==See Also==
 +
*[[Manuals/calci/MATRIXOPERATORS| MATRIXOPERATORS]]
 +
*[[Manuals/calci/MATRIXDETERMINANT| MATRIXDETERMINANT]]
 +
*[[Manuals/calci/DET| DET]]
 +
 +
==References==
 +
*[https://en.wikipedia.org/wiki/Invertible_matrix Matrix Inverse]
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
*[[ Z3 |  Z3 home ]]

Revision as of 17:28, 20 June 2017

MATRIXINVERSE (a)


  • is any matrix.

Description

  • This function shows the inverse value of the given matrix.
  • In , is any square matrix.
  • Inverse of a square matrix is also called reciprocal of a matrix and it is denoted by .
  • Consider the square matrix A has an inverse which should satisfies the following condition
  • Also (Identity matrix).
  • Consider 2x2 matrix:A=[a b;c d].
  • The inverse of matrix A is calculated by

= =

  • Consider 3x3 matrix A and its inverse is calculated by

==

where A=(ei-fh); B=-(di-fg);C=(dh-eg); D=-(bi-ch); E=(ai-cg); F=-(ah-bg); G=(bf-ce)  H=-(af-cd);I=(ae-bd)

Examples

1. MATRIXINVERSE([4,7;2,6])

0.6 -0.7
-0.2 0.4

2. MATRIXINVERSE([1,2,3;0,1,4;5,6,0])

-24 18 5
20 -15 -4
-5 4 1

See Also

References