sympy
Gregory Ewing
greg.ewing at canterbury.ac.nz
Thu Mar 31 00:49:14 EDT 2016
Steven D'Aprano wrote:
> On Thu, 31 Mar 2016 02:23 am, Poul Riis wrote:
>
>>What I intend to do is to let sympy find the derivative of some
>>welldefined function and next define the foundation derivative as a normal
>>function
>
> py> ftext.evalf(subs={x:3})
> -0.0600000000000000
Given all that, it looks like you want
def f(t):
return ftext.evalf(subs={x:t})
--
Greg
More information about the Python-list
mailing list