I am struggling to implement automatic differentiation in a plug-in library... can anybody help? No one has ever tried to add it at all, and it is a pain to find the derivative or the integral by hand.

I am struggling to implement automatic differentiation in a plug-in library... can anybody help? No one has ever tried to add it at all, and it is a pain to find the derivative or the integral by hand.