cardUndefined function
Requirements.LogicalFunctions.cardUndefined
· source
Returns the number of elements of a Property vector that are Undefined
Extends Requirements.Interfaces.PropertyFunction
Syntax
nUndefined = cardUndefined(p);
Description
This function returns the number of Undefined-elements of Property vector p
(the elements that are not applicable). Violated, Undecided, Satisfied and Undefined are
elements of enumeration Property.
The reduction is written over the indices 1:size(p,1) like the other card functions,
the form Modelon Impact scalarizes.
Revisions
| Date | Description |
|---|---|
| Sept. 15, 2026 | Added with the fourth value Undefined (H. Tummescheit, Model Based Innovation LLC) |
Inputs
| Name | Type | Description |
|---|---|---|
p[…] input | Property | Property vector |
Outputs
| Name | Type | Description |
|---|---|---|
result output | Integer | Number of Property.Undefined entries |