Gradients and exponential functions