FunctionalTranslation

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

Bases: 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__(x[, out])

Return self(x[, out, **kwargs]).

bregman(point, subgrad)

Return the Bregman distance functional.

derivative(point)

Return the derivative operator in the given point.

norm([estimate])

Return the operator norm of this operator.

translated(shift)

Return a translation of the functional.

__init__(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.