Finds all occurences of e in a given vector v and returns the positions. This is a modified version of Modelica.Math.Vectors.find.
(no remarks)
(no remarks)
(no remarks)
(no remarks)
(no remarks)
(no remarks)
(no validation necessary)
(none)
Model created by Carsten Bode (c.bode@tuhh.de), Nov 2018
function findAll extends TransiEnt.Basics.Icons.Function; input Real e "Search for e"; input Real v[:] "Real vector"; input Real eps(min = 0) = 0 "Element e is equal to a element v[i] of vector v if abs(e-v[i]) <= eps"; output Integer result[:] "all occurrences of e; result=0, if not found"; end findAll;