MDLD/differentiable functions (R)