# Synopsis

PDX_MSGT imth_CompareMatrix(IMTH_MATRIX matrix1, IMTH_MATRIX matrix2)

# Purpose

Compare two matrices for equality.

# Description

The two matrices will be compared to determine if they are the same. See the function imth_DiffMatrix to check if two matrices define the same plane but with different Z rotation. The tolerance ZERO_TOL defined in the current model will be used in the comparison.

# Input

## matrix1

First matrix to compare

## matrix2

Second matrix to compare

# Return

          0 (false)  -Matrices are differ
          1 (true)   -Matrices are the same
          .fi