.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-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos