expm1

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

Calculate exp(x) - 1 for all elements in the array.

See also

numpy.expm1

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

Create functional with domain/range as real numbers:

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