On 13 November 2011 19:34, [email protected] < [email protected]> wrote:
> Hi, > > You may know that lambdify was not working with Sums, quantum stuff, and > actually almost any nontrivial expression. > > I have rewritten it for use in the plotting module using a very different > approach. It's experimental and I very much doubt that it will replace the > current lambdify (it has to many differences). But for the moment it works > great. And I'm actually very happy with the code. It's well documented and > it's in sympy/plotting/experimental_lambdify.py in my pull request branch. > > See this plot for an example (the plotting module uses lambdify for > calculations): > In [2]: p = Plot(Sum(k, (k, 0, floor(x))), (x, 0, 10)) > In [4]: p > Out[4]: > Plot object containing: > [0]: cartesian line: Sum(k, (k, 0, floor(x))) for x over (0.0, 10.0) > In [5]: p.axis_center = (0, 0) > In [6]: p.title = str(p[0]) > In [7]: p.show() > > The old lambdify was not capable of this. All the explanations are in the > documentation. > > Now that the plotting module almost works, I'll have to stop writing code > and focus on documentation - there were quite a bit of issues around > lambdify that are not yet in the issue tracker. > > If anybody tests the code and find bugs, I would be glad to help with > them. But I do not think that it would be ready for merging soon. It' in > pull request 673. > I told Aaron that it should be ready before the next release (December). > > Best regards > Stefan > -- 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.
