Integer vectors are equalExamples:
arrayIntegerEqual({1,2}, {1,2}) returns true, but
arrayIntegerEqual({1,2}, {1,3}) and arrayIntegerEqual({1,2}, {1,2,3}) each return false.
function arrayIntegerEqual
extends Modelica.Icons.Function;
input Integer u1[:] "First integer vector" annotation(
Dialog(__Dymola_label = "<html><i>u</i><sub>1</sub></html>"));
input Integer u2[:] "Second integer vector" annotation(
Dialog(__Dymola_label = "<html><i>u</i><sub>2</sub></html>"));
output Boolean equal "<html><code>true</code>, if all of the entries are equal</html>";
end arrayIntegerEqual;