Hi Mratsim,
I have seen nim-rmad, however in my case requirement is somewhat different. The derivative calculation should not slowdown or change the interface of original function. Hence macro approach that generates separate set of functions to compute derivatives.
