I'm running your linux 32bit binaries, "SAGE Version 2.4, Release Date: 2007-03-25" on xubuntu kernel 2.6.17-10-generic.
On 5/7/07, William Stein <[EMAIL PROTECTED]> wrote: > > On 5/7/07, Brian & Caitlin Harris <[EMAIL PROTECTED]> wrote: > > > > I'm stuck again. Are rings something that will be more transparent in > > future versions, or must I learn them :) > > They will be much more transparent -- you won't have to learn about them. > Basically what you're trying to do below is not supported in sage-2.4.2, > except via maxima. In sage-2.5 it is very well supported. > > What operating system are you using? > > -- William > > > > > sage: x = polygen(RR,'x') > > sage: f = exp(x) > > > > <type 'exceptions.TypeError'>: cannot coerce nonconstant polynomial to float > > > > Brian > > > > On 5/7/07, William Stein <[EMAIL PROTECTED]> wrote: > > > > > > On 5/7/07, Brian & Caitlin Harris <[EMAIL PROTECTED]> wrote: > > > > > > > > I was just asking about the recommended way to solve some general > > > > problems. You've answered my question by saying that maxima will be > > > > more transparent in the future. > > > > > > > > By the way, it's unintuitive that this should give an error in SAGE: > > > > f =x - 3.3 > > > > > > > > <type 'exceptions.TypeError'>: unsupported operand parent(s) for '-': > > > > 'Univariate Polynomial Ring in x over Rational Field' and 'Real Field > > > > with 53 bits of precision' > > > > > > > > What's the workaround? > > > > > > (a) wait for sage-2.5 in which you get: > > > > > > sage: f = x - 3.3 > > > sage: f > > > x - 3.30000000000000 > > > > > > (b) Today: > > > > > > sage: x = polygen(RR,'x') > > > sage: f = x - 3.3 > > > sage: f > > > 1.00000000000000*x - 3.30000000000000 > > > > > > > > > > > > > > > > > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://www.williamstein.org > > > > --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
