Modelica_StateGraph2.Blocks.BooleanFunctions

Functions with Boolean inputs (shall be included in Modelica Standard Library)

Package Content

NameDescription
Modelica_StateGraph2.Blocks.BooleanFunctions.allTrue allTrue Returns true, if all elements of the Boolean input vector are true ('and')
Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue anyTrue Returns true, if at least on element of the Boolean input vector is true ('or')
Modelica_StateGraph2.Blocks.BooleanFunctions.oneTrue oneTrue Returns true, if exactly one element of the Boolean input vector is true ('xor')
Modelica_StateGraph2.Blocks.BooleanFunctions.firstTrueIndex firstTrueIndex Returns the index of the first element of the Boolean vector that is true and returns 0, if no element is true

Modelica_StateGraph2.Blocks.BooleanFunctions.allTrue Modelica_StateGraph2.Blocks.BooleanFunctions.allTrue

Returns true, if all elements of the Boolean input vector are true ('and')

Information


Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
b[:] 

Outputs

NameDescription
result 

Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue

Returns true, if at least on element of the Boolean input vector is true ('or')

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
b[:] 

Outputs

NameDescription
result 

Modelica_StateGraph2.Blocks.BooleanFunctions.oneTrue Modelica_StateGraph2.Blocks.BooleanFunctions.oneTrue

Returns true, if exactly one element of the Boolean input vector is true ('xor')

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
b[:] 

Outputs

NameDescription
result 

Modelica_StateGraph2.Blocks.BooleanFunctions.firstTrueIndex

Returns the index of the first element of the Boolean vector that is true and returns 0, if no element is true

Inputs

NameDescription
b[:] 

Outputs

NameDescription
index 

Automatically generated Tue Oct 01 16:04:22 2013.