function sumC extends Modelica.Icons.Function; input ComplexType[:] z "complex vector"; output ComplexType s "sum of components of z"; end sumC;