On 5/8/07, Brian Harris <[EMAIL PROTECTED]> wrote:
>
> I don't understand this behavior:
>
> sage: (x^2).diff()
> 2*x
> sage: (xx^2).diff()
> ...
> <type 'exceptions.NameError'>: name 'xx' is not defined
>
> Is the idea that the variable names [a-z] have been predefined for
> convenience, but all others need to be explicitly defined before being
> used?

Yes.  To define xx you must write

   var('xx')

> Congratulations on the release, by the way!

Thanks.  And thanks for the bug reports.


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to