PointwiseInnerBase¶
- class odl.operator.tensor_ops.PointwiseInnerBase(*args, **kwargs)[source]¶
Bases:
PointwiseTensorFieldOperatorBase class for
PointwiseInnerandPointwiseInnerAdjoint.Implemented to allow code reuse between the classes.
- Attributes:
adjointAdjoint operator.
base_spaceBase space
Xof this operator's domain and range.domainSet of objects on which this operator can be evaluated.
inverseReturn the operator inverse.
is_functionalTrueif this operator's range is aField.is_linearTrueif this operator is linear.is_weightedTrueif weighting is not 1 or all ones.rangeSet in which the result of an evaluation of this operator lies.
vecfieldFixed vector field
Gof this inner product.weightsWeighting array of this operator.
Methods
__call__(x[, out])Return
self(x[, out, **kwargs]).derivative(point)Return the operator derivative at
point.norm([estimate])Return the operator norm of this operator.
- __init__(adjoint, vfspace, vecfield, weighting=None)[source]¶
Initialize a new instance.
All parameters are given according to the specifics of the "usual" operator. The
adjointparameter is used to control conversions for the inverse transform.- Parameters:
- adjointbool
Trueif the operator should be the adjoint,Falseotherwise.- vfspace
ProductSpace Space of vector fields on which the operator acts. It has to be a product space of identical spaces, i.e. a power space.
- vecfield
vfspaceelement-like Vector field with which to calculate the point-wise inner product of an input vector field
- weighting
array-likeor float, optional Weighting array or constant for the norm. If an array is given, its length must be equal to
len(domain). By default, the weights are is taken fromdomain.weighting. Note that this excludes unusual weightings with custom inner product, norm or dist.