functioncardUndecided

Returns the number of elements of a Property vector that are Undecided

Extends from Modelica_Requirements.Interfaces.PropertyFunction (Icon for functions returning a variable of type Property).

Information

Syntax

nUndecided = cardUndecided(p);

Description

This function returns the number of Undecided-elements of Property vector p.

Violated, Undecided, and Satisfied are elements of enumeration Property.

Example

This function is demonstrated with the following example calling the function as:

nUndecided = cardUndecided( p )
simulation result

Inputs

TypeNameDefaultDescription
Property[:]pProperty vector

Outputs

TypeNameDefaultDescription
IntegerresultNumber of Property.Undecided entries