So far, I've always defined functions as
```
class f(sympy.Function):
pass
```
which I could then conveniently use as
```
x = sympy.Symbol('x')
y = f(x)
```
Nice.
Now, I would like to define a function that itself returns a function, aka,
an operator. It should be used as
```
y = op(u)(x)
```
With the naïve definition above, I'm getting
```
TypeError: 'op' object is not callable
```
Any hints?
Cheers,
Nico
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/aed8dedf-9b6c-468e-838a-ad56a659ddfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.