PointwiseTensorFieldOperator
- class odl.core.operator.tensor_ops.PointwiseTensorFieldOperator(*args, **kwargs)[source]
Bases:
OperatorAbstract 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^dof a discretized function spaceX. Its range is the power spaceX^kwith a possibly different numberkof components. Fork == 1, the base spaceXcan be used instead.For example, if
Xis aDiscretizedSpacespace, 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,rangeandbase_spaceuse differentdtype. Correctness for, e.g., real-to-complex mappings is not guaranteed in that case.See Also
odl.core.space.pspace.ProductSpace
- __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{