The function finds the maximum value of a vector.
(Description)
(Description)
(none)
(no elements)
(no equations)
(none)
(no validation or testing necessary)
(none)
function find_max extends Icons.Function; input Real vector[:]; input Real stateVector[:] = ones(size(vector, 1)); input Integer cond = 1 "Only use items where statevector[i]=cond"; output Integer index; end find_max;