On Sat, Dec 1, 2012 at 10:15 AM, Aaron Meurer wrote:
> The bug here is that the binomial(n, 5) is automatically evaluating
> itself. It should remain unevaluated, except when expand(func=True)
> is called on it.
Reported http://code.google.com/p/sympy/issues/detail?id=3544
--
Shriramana Sharma
On Fri, Nov 30, 2012 at 9:27 PM, Shriramana Sharma wrote:
> On Sat, Dec 1, 2012 at 9:32 AM, Aaron Meurer wrote:
>> I guess it's not necessarily a good idea to auto-expand things like
>> binomial(n, 5). Go ahead and open another issue for that if you want.
>> Probably it should be changed to rema
On Sat, Dec 1, 2012 at 9:32 AM, Aaron Meurer wrote:
> I guess it's not necessarily a good idea to auto-expand things like
> binomial(n, 5). Go ahead and open another issue for that if you want.
> Probably it should be changed to remain unevaluated, and to expand
> with expand(func=True).
Hi Aaro
If you call simplify, it simplifies a little bit.
I guess it's not necessarily a good idea to auto-expand things like
binomial(n, 5). Go ahead and open another issue for that if you want.
Probably it should be changed to remain unevaluated, and to expand
with expand(func=True).
Aaron Meurer
On
On Sat, Dec 1, 2012 at 9:13 AM, Shriramana Sharma wrote:
>> easy way to fix it is to use summation(t**i*Ra(i),(i,0,5)).doit().
>
> Wow nice, that works!
... but the problem is that it expands the binomial function too and
the output is not so readable as a result:
t**5*(-n*(n - 4)*(n - 3)*(n - 2
Thanks for replying.
On Sat, Dec 1, 2012 at 8:49 AM, Aaron Meurer wrote:
>
> easy way to fix it is to use summation(t**i*Ra(i),(i,0,5)).doit().
Wow nice, that works!
> Care to open an issue for this in our issue tracker
> (https://code.google.com/p/sympy/issues/list)?
I reported it here with y
On Fri, Nov 30, 2012 at 8:00 PM, Shriramana Sharma wrote:
> Hello. Trying to execute the following minimal example throws SymPy
> into an infinite loop. (Obviously this is an extract from my actual
> program.) I tried debugging using eric5 but beyond that the problem
> occurs within the Ra() funct
Hello. Trying to execute the following minimal example throws SymPy
into an infinite loop. (Obviously this is an extract from my actual
program.) I tried debugging using eric5 but beyond that the problem
occurs within the Ra() function, I couldn't find out anything. Can
please anyone tell me what I