These examples show how you can use the Universal Functions (UFuncs) in ODL.
These allow you to create, e.g. the pointwise sin operator which can be used just like any other operator in ODL.
| Example | Purpose | Complexity |
|---|---|---|
ufunc_basics.py |
Create and call ufunc functionals | low |
ufunc_composition.py |
Compose ufuncs with other operators | low |
ufunc_solvers.py |
Demonstrate how to use ufuncs in optimization | low |