Rotate a vector of an angle theta (anti-counterclock)
partial function rotate extends Modelica.Icons.Function; input Real x[n]; input Modelica.Units.SI.Angle theta; output Real y[n]; end rotate;