Piecewise Linear AD via Source Transformation

Algorithmic differentiation (AD) allows the efficient numerical computation of sensitivities for any mathematical function y = F(x), F: Rn to Rm that is sufficiently smooth and given by a finite straight-line code.