PointwiseInnerAdjoint¶
-
class
odl.operator.tensor_ops.
PointwiseInnerAdjoint
(*args, **kwargs)[source]¶ Bases:
odl.operator.tensor_ops.PointwiseInnerBase
Adjoint of the point-wise inner product operator.
The adjoint of the inner product operator is a mapping
A^* : X --> X^d
If the vector field space
X^d
is weighted by a vectorv
, the adjoint, applied to a functionh
fromX
is the vector fieldx --> h(x) * (w / v) * G(x),
where
G
andw
are the vector field and weighting from the inner product operator, resp., and all multiplications are understood component-wise.- Attributes
adjoint
Adjoint of this operator.
base_space
Base space
X
of this operator’s domain and range.domain
Set of objects on which this operator can be evaluated.
inverse
Return the operator inverse.
is_functional
True
if this operator’s range is aField
.is_linear
True
if this operator is linear.is_weighted
True
if weighting is not 1 or all ones.range
Set in which the result of an evaluation of this operator lies.
vecfield
Fixed vector field
G
of this inner product.weights
Weighting array of this operator.
Methods
_call
(self, f, out)Implement
self(vf, out)
.derivative
(self, point)Return the operator derivative at
point
.norm
(self[, estimate])Return the operator norm of this operator.
-
__init__
(self, sspace, vecfield, vfspace=None, weighting=None)[source]¶ Initialize a new instance.
- Parameters
- sspace
LinearSpace
“Scalar” space on which the operator acts
- vecfieldrange
element-like
Vector field of the point-wise inner product operator
- vfspace
ProductSpace
, optional Space of vector fields to which the operator maps. It must be a power space with
sspace
as base space. This option is intended to enforce an operator range with a certain weighting. Default:ProductSpace(space, len(vecfield), weighting=weighting)
- weighting
array-like
or float, optional Weighting array or constant of the inner product operator. If an array is given, its length must be equal to
len(vecfield)
. By default, the weights are is taken fromrange.weighting
if applicable. Note that this excludes unusual weightings with custom inner product, norm or dist.
- sspace