NormOperator¶
- class odl.operator.default_ops.NormOperator(*args, **kwargs)[source]¶
Bases:
OperatorVector space norm as an operator.
Implements:
NormOperator()(x) <==> x.norm()
This is only applicable in normed spaces, i.e., spaces implementing a
normmethod.See also
InnerProductOperatorInner product with a fixed space element.
DistOperatorDistance to a fixed space element.
- Attributes:
adjointAdjoint of this operator (abstract).
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.rangeSet in which the result of an evaluation of this operator lies.
Methods
__call__(x[, out])Return
self(x[, out, **kwargs]).derivative(point)Derivative of this operator in
point.norm([estimate])Return the operator norm of this operator.
- __init__(space)[source]¶
Initialize a new instance.
- Parameters:
- space
LinearSpace Space to take the norm in.
- space
Examples
>>> r2 = odl.rn(2) >>> op = NormOperator(r2) >>> op([3, 4]) 5.0