[boost] [math] calculate derivative automatically.