Text this: Affine Calculus for Constrained Minima of the Kullback–Leibler Divergence