.Modelica.Math.BooleanVectors

Information

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

Contents

NameDescription
allTrueReturns true, if all elements of the Boolean input vector are true ('and')
andTrueReturns true, if all elements of the Boolean input vector are true ('and')
anyTrueReturns true, if at least one element of the Boolean input vector is true ('or')
countTrueReturns the number of true elements in a Boolean vector
enumerateEnumerates the true elements in a Boolean vector (0 for false elements)
firstTrueIndexReturns the index of the first true element of a Boolean vector
indexReturns the indices of the true elements of a Boolean vector
oneTrueReturns true, if exactly one element of the Boolean input vector is true ("xor")

Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos