ufuncs

Universal functions (ufuncs) for ODL-wrapped arrays.

These functions are internal and should only be used as methods on Tensor-like classes.

See numpy.ufuncs for more information.

Notes

The default implementation of these methods uses the __array_ufunc__ dispatch machinery introduced in Numpy 1.13.

Classes

ProductSpaceUfuncs(elem)

Ufuncs for ProductSpaceElement objects.

TensorSpaceUfuncs(elem)

Ufuncs for Tensor objects.

Functions

method(self[, out])

Return the truncated value of the input, element-wise.

wrap_ufunc_base(name, n_in, n_out, doc)

Return ufunc wrapper for implementation-agnostic ufunc classes.

wrap_ufunc_productspace(name, n_in, n_out, doc)

Return ufunc wrapper for ProductSpaceUfuncs.