    

 ## On this page

  

 

 # Inv2x2 

 Last update: 09.03.2026 

Inverse of a 2 by 2 matrix.

Returns an error flag and a matrix filled with zeros if the determinant is equal to zero.

## Interface

NameKindTypeCommentAInumeric^2^2Input matrixepsilonInumericEpsilon for comparison to zeroinvAOnumeric^2^2Inverse matrixerrorOboolTrue if determinant is equal to zero**Parent topic:**[Matrix](./matrix.md)