functionfind

Find element in vector

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
IntegersSearch for s
Integer[:]vVector

Outputs

TypeNameDefaultDescription
Integerresultv[result] = s (first occurrence of s); result=0, if not found