power

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

First array elements raised to powers from second array, element-wise.

See also

numpy.power

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