complex-variable function