.FaultTriggering.Utilities.Internal.findInIntegerVector

Information

Function which finds the integer compareWith in the vector inputVector. Output is a vector with the position of the found indexes and the boolean isFound that shows if the vecor is found at all

Interface

function findInIntegerVector
  input Integer[:] inputVector = {6, 1, 2, 3, 4, 5} "input Integer vector that is ssearched";
  input Integer compareWith = 2 "Integer that is to be found";
  output Integer[:] findIndex "Vector with the indices where compareWith is found";
  output Boolean isFound "true if the boolean is found";
end findInIntegerVector;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos