logical_xor¶
- odl.ufunc_ops.ufunc_ops.logical_xor(domain=RealNumbers())¶
Compute the truth value of x1 XOR x2, element-wise.
See also
Notes
This creates a
Operator/Functionalthat applies a ufunc pointwise.Examples
Create operator that acts pointwise on a
TensorSpace>>> space = odl.rn(3) >>> op = odl.ufunc_ops.logical_xor(space)