On Tue, Apr 20, 2010 at 9:22 PM, Jason Grout <jason-s...@creativetrax.com>wrote:

> On 04/20/2010 10:44 PM, Alex Leone wrote:
>
>> sage: g1 = var('g1')
>> sage: g1
>> g1
>> sage: g1.full_simplify()
>> (-1)^k*k/(4*k^2 - 1)
>>
>>
>> Where is the k coming from?!!
>>
>>
> Probably from some package that the calculus version of maxima loads:
>

We *really* need to change the maxima(symbolic expression) command to return
something with all the variables prepended with _SAGE_, and undo this when
converting back.  Is there a ticket about this already?  It would be really
easy to implement.  I remember this being discussed a few months ago... but
thinking that libmaxima would sort things out, but not realizing that that
would take many months until we switch to it.

William


>
> ----------------------------------------------------------------------
> | Sage Version 4.3.4, Release Date: 2010-03-19                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> sage: sage.calculus.calculus.maxima('g1')
> k*(-1)^k/(4*k^2-1)
>
> That's what we get for using variable names that may or may not be defined
> already in the maxima namespace.
>
> Thanks,
>
> jason
>
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com<sage-support%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to