Return z = n[1]*n[2]*...n[end]/(d[1]*d[2]*....*d[end])
function complexFraction extends Modelica.Icons.Function; input Complex n[:]; input Complex d[:]; output Complex z "= n[1]*n[2]*...n[end]/(d[1]*d[2]*....*d[end])"; output Integer info "= 0/1/2 success/infinity(z is a large value)/indefinite (0/0; z=0)"; end complexFraction;