>
> *concerning sums:
> *In [1]: s = summation(k**(-x),(k,1,oo))
>
> In [2]: s
> Out[2]:
>
>   ∞
>  ___
>  \  `
>   \    -x
>   /   k
>  /__,
> k = 1
>
> In [3]: fs = lambdify([x], s) # I've added a print statement inside so I
> can see the lambda string
> lambda x: (Sum(k**(-x), (k, 1, oo)))
>
> In [4]: fs(2)
> /usr/lib/pymodules/python2.7/numpy/__init__.pyc in <lambda>(x)
>
> NameError: global name 'Sum' is not defined
>
>
> *concerning integrals:*
> In [5]: expr = integrate(1/sqrt(x**2+x), (x, 1, y))
>
> In [6]: func = lambdify([y], expr)
>
> In [7]: func(2) ValueError: Symbolic value, can't compute
>
>
> Can somebody explain this to me, I'm looking at the code but I do not
> understand why lambdify with mpmath and evalf are not reusing one another?
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to