mrpro.operators.EndomorphOperator.endomorph

mrpro.operators.EndomorphOperator.endomorph(f: F, /) _EndomorphCallable

Decorate a function to make it an endomorph callable.

This adds overloads for N->N-Tensor signatures, for N<10. For >10 inputs, the return type will a tuple with >10 tensors.