ArrayTools[IsEqual] - compare Arrays for equality
|
Calling Sequence
|
|
IsEqual(Array1, Array2, ...);
IsEqual(Array1, Array2, ..., equalundefined);
|
|
Parameters
|
|
Array1, Array2
|
-
|
the Arrays to be compared, more Arrays are optional
|
equalundefined
|
-
|
(optional) treat undefined elements in Arrays as equal
|
|
|
|
|
Description
|
|
•
|
The IsEqual(Array1, Array2, ...) function compares two or more arrays for equality with undefined elements treated as inequal.
|
•
|
The option equalundefined causes the function to treat undefined elements as equal. The default value is false.
|
•
|
This function is part of the ArrayTools package, so it can be used in the short form IsEqual(..) only after executing the command with(ArrayTools). However, it can always be accessed through the long form of the command by using ArrayTools[IsEqual](..).
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?