.TransiEnt.Basics.Functions.findSetDifference

Information

1. Purpose of model

Creates a vector disjunction which only contains the elements of vector which do not exist in subset.

2. Level of detail, physical effects considered, and physical insight

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

(no remarks)

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no validation necessary)

9. References

(none)

10. Version History

Model created by Carsten Bode (c.bode@tuhh.de), May 2020

Interface

function findSetDifference
  extends TransiEnt.Basics.Icons.Function;
  input Integer vector[:];
  input Integer subset[:] "Subset of vector";
  output Integer disjunction[size(vector, 1) - size(subset, 1)] "Disjunctive vector";
end findSetDifference;

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos