Mathematica: support for other domain derivatives