logical_xor_op¶
- class odl.ufunc_ops.ufunc_ops.logical_xor_op(*args, **kwargs)¶
- Bases: - Operator- Compute the truth value of x1 XOR x2, element-wise. - See also - Examples - >>> import odl >>> space = odl.rn(3) >>> op = odl.ufunc_ops.logical_xor(space) >>> print(op([[-1., 1., 2.], [ 3., 4., 5.]])) [False, False, False] - Attributes:
- adjoint
- Adjoint of this operator (abstract). 
- domain
- Set of objects on which this operator can be evaluated. 
- inverse
- Return the operator inverse. 
- is_functional
- Trueif this operator's range is a- Field.
- is_linear
- Trueif 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__(space)¶
- Initialize an instance. - Parameters:
- spaceTensorSpace
- The domain of the operator. 
 
- space