logical_not

odl.ufunc_ops.ufunc_ops.logical_not(domain=RealNumbers())

Compute the truth value of NOT x element-wise.

Notes

This creates a Operator/Functional that applies a ufunc pointwise.

Examples

Create operator that acts pointwise on a TensorSpace

>>> space = odl.rn(3)
>>> op = odl.ufunc_ops.logical_not(space)

Create functional with domain/range as real numbers:

>>> func = odl.ufunc_ops.logical_not()