functionarrayIntegerEqual
Check if two
Integer vectors are equalExtends from Modelica.Icons.Function (Icon for functions).
Information
Examples:
arrayIntegerEqual({1,2}, {1,2}) returns true, but
arrayIntegerEqual({1,2}, {1,3}) and arrayIntegerEqual({1,2}, {1,2,3}) each return false.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[:] | u1 | First integer vector | |
| Integer[:] | u2 | Second integer vector |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | equal | <html><code>true</code>, if all of the entries are equal</html> |