This function returns the Complex cosine of the Complex input.
function cos extends Modelica.Icons.Function; input Complex c1 "Complex number"; output Complex c2 "= cos(c1)"; end cos;