When I use this function to get the derivative at the complex numbers,problem appears.For example:
1.46869393991590 - 2.28735528717885i
However,the derivative of exp(z) at z(complex numbers) should be exp(z)
1.46869393991589 + 2.28735528717884i
which is the conjucate of the above.