.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-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos