Hi there,
since i am experimenting quite a bit with the mapping-abstractions...in the last days
well, there is many times a solution for problems that i am facing
There is an object called "diff_n" which does simple differentiation, and thats exactly what you are looking for..
maybe that helps
I have attached a patch...you dont need the mapping-abs in order to see how its made and how it is working
Cheers Luigi