[sympy] Re: GSoC winding down

2015-08-24 Thread AMiT Kumar
Thanks to whole SymPy team and Community for a wonderful collaboration experience. Kudos! Here is my Report: https://github.com/sympy/sympy/wiki/GSoC-2015-Report-Amit-Kumar-:-Solvers *AMiT Kumar* On Monday, August 24, 2015 at 1:30:00 AM UTC+5:30, Aaron Meurer wrote: The GSoC period is now

[sympy] live shell on the website

2015-08-24 Thread Nico
I've been using Sympy in the past few weeks more than ever before, and I have to say it's been quite a nice experience. As a an almost-newcomer, the single most annoying thing was that you can't copy-and-paste code from the website. Every time I select code from the documentation on [1], the

[sympy] generate code for Boolean expressions

2015-08-24 Thread Nico
With `codegen`, one can generate code from a sympy expression. Typically, it is assumed that the return value is a scalar. In one of my use cases, the return value is Boolean. (The answer to Is x inside a particular domain?) The hack I employed so far is to generate the code as usual ``` from

Re: [sympy] Re: GSoC winding down

2015-08-24 Thread Aaron Meurer
If everyone could also add their report to https://github.com/sympy/sympy/wiki/GSoC-2015-Report (and add any other missing information) that would be great. Aaron Meurer On Mon, Aug 24, 2015 at 6:03 AM, AMiT Kumar dtu.a...@gmail.com wrote: Thanks to whole SymPy team and Community for a

Re: [sympy] live shell on the website

2015-08-24 Thread Sudhanshu Mishra
Hi I like the idea. The live shell is useful in general but it would be a nice thing to have an additional button which copies the plain code from a particular box. and after hiding it, I find myself on another place in the documentation. Yikes! This happens because the live shell tries to

Re: [sympy] generate code for Boolean expressions

2015-08-24 Thread Sudhanshu Mishra
Hi I can't comment on the first part but for the boolean expression, it's a design issue. Booleans have not been derived from Expr class in sympy which is why it fails. ​ Sudhanshu Mishra On Tue, Aug 25, 2015 at 2:39 AM, Nico nico.schloe...@gmail.com wrote: With `codegen`, one can generate

[sympy] Re: Smarter cache

2015-08-24 Thread Denis Akhiyarov
It looks like pympler works pretty well on sympy symbols, here is my notebook: https://gist.github.com/denfromufa/4d0e6a94f70fac155b66 On Monday, August 24, 2015 at 10:03:30 PM UTC-5, Denis Akhiyarov wrote: Nbytes is very hard in Python, and getsizeof() does not work very well. People has

[sympy] Re: Smarter cache

2015-08-24 Thread Denis Akhiyarov
script src=https://gist.github.com/denfromufa/4d0e6a94f70fac155b66.js;/script On Monday, August 24, 2015 at 10:03:30 PM UTC-5, Denis Akhiyarov wrote: Nbytes is very hard in Python, and getsizeof() does not work very well. People has addressed this using github.com/pympler. Not sure if

[sympy] Re: Smarter cache

2015-08-24 Thread Denis Akhiyarov
Nbytes is very hard in Python, and getsizeof() does not work very well. People has addressed this using github.com/pympler. Not sure if anyone tried it on sympy objects and how costly is that calculation. Cachey has very simple nbytes calculation, mainly intended for numpy and pandas objects.