KullbackLeibler.gradient

property KullbackLeibler.gradient

Gradient of the KL functional.

The gradient of KullbackLeibler with prior g is given as

\nabla F(x) = 1 - \frac{g}{x}.

The gradient is not defined in points where one or more components are non-positive.