cmp

Method:

cmp - matrix comparison

Syntax:

b = m.cmp(m2);

Parameters:

m2 - matrix to be compared

Returns:

b - boolean, true if matrices are identical.

Description:

Compares the matrix 'm' against the given matrix 'm2' and returns true if the two matrices are identical.

Example:

rc = m.cmp(m2);