I don't find the solution ...
Jean-Luc ARNAUD <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Working with eval, I get the expected result with: eval([ a=((6*k)!*(-1)^k)/(((3*k)!*(k!)^3)*640320^(3*k)), k*a ]); But I don't achieve the same calculation with pareval. I'm using ()-> for the first equation, but what should I use for the second? I tried: pareval([ (a)->((6*k)!*(-1)^k)/(((3*k)!*(k!)^3)*640320^(3*k)), ()->k*a ])); or: eval([ ()->a=((6*k)!*(-1)^k)/(((3*k)!*(k!)^3)*640320^(3*k)), ()->k*a ])); The first pareval results in correct calculation of the first term, but the second term is always 0. Thanks for your help. -- Jean-Luc Arnaud