PointwiseTensorFieldOperator¶
- class odl.operator.tensor_ops.PointwiseTensorFieldOperator(*args, **kwargs)[source]¶
Bases:
Operator
Abstract operator for point-wise tensor field manipulations.
A point-wise operator acts on a space of vector or tensor fields, i.e. a power space
X^d
of a discretized function spaceX
. Its range is the power spaceX^k
with a possibly different numberk
of components. Fork == 1
, the base spaceX
can be used instead.For example, if
X
is aDiscretizedSpace
space, thenProductSpace(X, d)
is a valid domain for any positive integerd
. It is also possible to have tensor fields over tensor fields, i.e.ProductSpace(ProductSpace(X, n), m)
.Note
It is allowed that
domain
,range
andbase_space
use differentdtype
. Correctness for, e.g., real-to-complex mappings is not guaranteed in that case.See also
- Attributes:
adjoint
Adjoint of this operator (abstract).
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.range
Set in which the result of an evaluation of this operator lies.
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__(domain, range, base_space, linear=False)[source]¶
Initialize a new instance.
- Parameters:
- domain, range{
ProductSpace
,LinearSpace
} Spaces of vector fields between which the operator maps. They have to be either power spaces of the same base space
X
(up todtype
), or the base space itself. Empty product spaces are not allowed.- base_space
LinearSpace
The base space
X
.- linearbool, optional
If
True
, assume that the operator is linear.
- domain, range{