MATLAB Compiler Previous page   Next Page

bool Equals(const mwArray& arr) const

Test two arrays for equality.

C++ syntax

Arguments

arr.   Array to compare to this array.

Return value

Boolean value indicating the equality of the two arrays.

Description

Returns true if the input array is byte-wise equal to this array. This method makes a byte-wise comparison of the underlying arrays. Therefore, arrays of the same type should be compared. Arrays of different types will not in general be equal, even if they are initialized with the same data.


Previous page  bool IsComplex() const int CompareTo(const mwArray& arr) const Next page

© 1994-2005 The MathWorks, Inc.