.Modelica.Math.BooleanVectors

Information

This library provides functions operating on vectors that have a Boolean vector as input argument.

Contents

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')
 countTrue Returns the number of true entries in a Boolean vector
 enumerate Enumerates the true entries in a Boolean vector (0 for false entries)
 firstTrueIndex Returns the index of the first true element of a Boolean vector
 index Returns the indices of the true entries of a Boolean vector
 oneTrue Returns true, if exactly one element of the Boolean input vector is true ("xor")

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39