subs should only be used to replace sympy expressions with sympy
expressions. To evaluate a sympy expression at a numpy array, you
should lambdify() it first.
In [10]: f0 = lambdify((a, b, c), f)
In [12]: f0(array1, array2, array3)
Out[12]: array([2, 1, 1])
Aaron Meurer
> --
> 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
sympy+un...@googlegroups.com.
> To post to this group, send email to
sy...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sympy.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/sympy/89d85fa0-8151-40da-ab0c-6d6f6d34a66e%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.