Piecewise affine functions as a difference of two convex functions | Synapse