KullbackLeiblerCrossEntropyConvexConj

class odl.functionals.default_functionals.KullbackLeiblerCrossEntropyConvexConj(*args, **kwargs)[source]

Bases: Functional

The convex conjugate of Kullback-Leibler Cross Entorpy functional.

Notes

The functional F^* with prior g>0 is given by

F^*(x) = \sum_i g_i \left(e^{x_i} - 1\right)

See Also

KullbackLeiblerCrossEntropy : convex conjugate functional

__init__(space, prior=None)[source]

Initialize a new instance.

Parameters

spaceDiscretizedSpace or TensorSpace

Domain of the functional.

priorspace element-like, optional

Depending on the context, the prior, target or data distribution. It is assumed to be nonnegative. Default: if None it is take as the one-element.