FunctionalLeftScalarMult

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

Bases: odl.solvers.functional.functional.Functional, odl.operator.operator.OperatorLeftScalarMult

Scalar multiplication of functional from the left.

Given a functional f and a scalar scalar, this represents the functional

(scalar * f)(x) == scalar * f(x).

Functional.__rmul__ takes care of the case scalar = 0.

Attributes
adjoint

Adjoint of this operator.

convex_conj

Convex conjugate functional of the scaled functional.

domain

Set of objects on which this operator can be evaluated.

functional

The original functional.

grad_lipschitz

Lipschitz constant for the gradient of the functional.

gradient

Gradient operator of the functional.

inverse

Inverse of this operator.

is_functional

True if this operator’s range is a Field.

is_linear

True if this operator is linear.

operator

The operator part of this multiplication.

proximal

Proximal factory of the scaled functional.

range

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

scalar

The scalar part of this multiplication.

Methods

_call(self, x[, out])

Implement self(x[, out]).

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, scalar)[source]

Initialize a new instance.

Parameters
funcFunctional

Functional to be scaled.

scalarfloat, nonzero

Number with which to scale the functional.