Functions with Boolean inputs (shall be included in Modelica Standard Library)
Name | Description |
---|---|
allTrue | Returns true, if all elements of the Boolean input vector are true ('and') |
anyTrue | Returns true, if at least on element of the Boolean input vector is true ('or') |
oneTrue | Returns true, if exactly one element of the Boolean input vector is true ('xor') |
firstTrueIndex | Returns the index of the first element of the Boolean vector that is true and returns 0, if no element is true |