Changes between Initial Version and Version 1 of Ticket #29581, comment 110


Ignore:
Timestamp:
09/29/21 09:44:44 (2 months ago)
Author:
egourgoulhon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29581, comment 110

    initial v1  
    1 To summarize, there are at least 3 sources for `I`: `sage.rings.imaginary_unit`, `sage.symbolic.constants`, `sage.symbolic.expression`. All yield an `sage.symbolic.expression.Expression`, but only the first one gives the same `I` as the Python variable predefined in the interactive shell.
     1To summarize, there are at least 3 sources for `I`: `sage.rings.imaginary_unit`, `sage.symbolic.constants`, `sage.symbolic.expression`, but only the first one gives the same `I` as the Python variable predefined in the interactive shell. Moreover, we have
     2{{{
     3sage: I.parent()
     4Number Field in I with defining polynomial x^2 + 1 with I = 1*I
     5sage: from sage.symbolic.constants import I as I1
     6sage: I1.parent()
     7Symbolic Ring
     8sage: from sage.symbolic.expression import I as I2
     9sage: I2.parent()
     10Symbolic Ring
     11sage: I2 is I1
     12True
     13}}}