> This is done in order to have "x" as a default predefined symbolic 
> variable. However, the whole file "sage/calculus/predefined.py" is executed 
> which calls "SR.var()" on every single letter of the alphabet (lowercase 
> and uppercase). So, when one has a freshly started Sage session (without 
> any additional execution), "SR.symbols" already has length 48:
>
>     SR.symbols = {'a':a, ...'z':z, 'A':A, ...,'Z':Z}
>
>
>  I wonder if that is a remnant from the short period of time where Sage 
did predefine all those letters as symbolic variables.  (Several 
competitors have different approaches to this; the compromise that lasted 
for us - in my view, correctly - was to only predefine x.)  I'd be 
interested in any other archaeology around that, otherwise it seems that 
this could be shortened, as you say.  Variables like phi are more likely 
than e, for instance.  I assume that this SR does not clobber the 
predefined constant e, for instance.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/6130d677-2ff3-46fc-80e5-20e7f47cf577n%40googlegroups.com.

Reply via email to