1 | initial version |
I personally suspect you just can't do it without extending fast_callable
from its current signature. See the doc:
Currently, x can be an expression object, an element of SR, or a (univariate or multivariate) polynomial; this list will probably be extended soon.
However, hopefully someone else will provide a workaround, perhaps involving creating a list function or something.