[email protected] wrote: > the bug is not in Maxima, but the problem is in the fact that sage has > keepfloat set to true. look at this: > > (maxima called from sage wit your expr:1.4*(.1873*z+.1752)/(z-1)/(z-. > 8187) ) > > maxima: keepfloat:false > false > maxima: partfrac(expr,z) > 1851969/(661600*(z-1))-1914101474313/(82700000*(9123*z-7469)) > > Robert. > > On 4 lis, 07:51, "[email protected]" <[email protected]> wrote: >> Hello Bryan >> >> If you are interested in this, compile CVS version of Maxima and look, >> if the CVS version has the same problem. If yes, report the problem >> athttp://sourceforge.net/tracker/?group_id=4933&atid=104933 >> >> I did similar work for inequality solver few week ago and this issue >> has been fixed in CVS >> fast:http://sourceforge.net/tracker/?func=detail&aid=2882408&group_id=4933... >> - Now I only hope that this fixed version appears in Sage soon >> (despite the fact that Maxima is with higher and higher version slower >> and slower and from this fact I keep using version 5.13 on my server) >> >> btw: perhaps using fractions instead of decimals solves your problem. >> >> Robert >> >> [ma...@taxus ~]$ sage >> ---------------------------------------------------------------------- >> | Sage Version 4.2, Release Date: 2009-10-24 | >> | Type notebook() for the GUI, and license() for information. | >> ---------------------------------------------------------------------- >> sage: %maxima >> >> --> Switching to Maxima <-- >> >> '' >> maxima: expr:1.4*(.1873*z+.1752)/(z-1)/(z-.8187) >> 1.4*(0.1873*z+0.1752)/((z-1)*(z-0.8187)) >> maxima: radcan(expr) >> (0.26222*z+0.24528)/(1.0*z^2-1.8187*z+0.8187) >> maxima: expr:14/10*(1873/10000*z+1752/1000)/(z-1)/(z-8187/10000) >> 7*(1873*z/10000+219/125)/(5*(z-1)*(z-8187/10000)) >> maxima: partfrac(expr,z) >> 19393/(1295*(z-1))-190534251/(1295*(10000*z-8187)) >> maxima:
That came from this: http://trac.sagemath.org/sage_trac/ticket/2400 I wonder if it can just be turned off for partial fractions, like the matrix exponential command. Jason -- Jason Grout --~--~---------~--~----~------------~-------~--~----~ 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/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
