subtract

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

Subtract arguments, element-wise.

See also

numpy.subtract

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.subtract(space)