Find element in vector
encapsulated function find import Modelica; import Modelica_LinearSystems2.Math; extends Modelica.Icons.Function; input Integer s "Search for s"; input Integer v[:] "Vector"; output Integer result "v[result] = s (first occurrence of s); result=0, if not found"; end find;