Complex from polar representation
function fromPolar extends Icons.myFunction; input Real len "abs of complex"; input Types.myAngle phi "arg of complex"; output Complex c "= len * cos(phi) + j * len * sin(phi)"; end fromPolar;