PointwiseInnerBase
- class odl.core.operator.tensor_ops.PointwiseInnerBase(*args, **kwargs)[source]
Bases:
PointwiseTensorFieldOperatorBase class for
PointwiseInnerandPointwiseInnerAdjoint.Implemented to allow code reuse between the classes.
- __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.