FunctionalTranslation

class odl.solvers.functional.functional.FunctionalTranslation(*args, **kwargs)[source]

Bases: odl.solvers.functional.functional.Functional

Implementation of the translated functional.

Given a functional f and an element translation in the domain of f, this corresponds to the functional f(. - translation).

Attributes
adjoint

Adjoint of this operator (abstract).

convex_conj

Convex conjugate functional of the translated functional.

domain

Set of objects on which this operator can be evaluated.

functional

The original functional that has been translated.

grad_lipschitz

Lipschitz constant for the gradient of the functional.

gradient

Gradient operator of the functional.

inverse

Return the operator inverse.

is_functional

True if this operator’s range is a Field.

is_linear

True if this operator is linear.

proximal

Proximal factory of the translated functional.

range

Set in which the result of an evaluation of this operator lies.

translation

The translation.

Methods

_call(self, x)

Evaluate the functional in a point x.

bregman(self, point, subgrad)

Return the Bregman distance functional.

derivative(self, point)

Return the derivative operator in the given point.

norm(self[, estimate])

Return the operator norm of this operator.

translated(self, shift)

Return a translation of the functional.

__init__(self, func, translation)[source]

Initialize a new instance.

Given a functional f(.) and a vector translation in the domain of f, this corresponds to the functional f(. - translation).

Parameters
funcFunctional

Functional which is to be translated.

translationdomain element

The translation.