New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SR('I') is not consistent #25178
Comments
comment:1
I am not sure if this is really so bad. It is the same for other constants:
But I can imagine that it would be very useful to use |
comment:2
I agree that this is not a bug. |
comment:3
My complaint is about the way
|
comment:4
What do you propose to do? What behavior do you want to have? Should I think a line like
|
comment:5
|
comment:7
One option could be to have |
This comment has been minimized.
This comment has been minimized.
comment:9
I don't see how
is any more confusing than
|
comment:10
Replying to @slel:
See [comment:3]. |
comment:11
More precisely
|
comment:12
I get it now. The changed behaviour would be expected after
but not after
|
comment:13
Replying to @sagetrac-tmonteil:
Indeed. |
This comment has been minimized.
This comment has been minimized.
comment:14
update milestone 8.3 -> 8.4 |
This behavior is confusing
So far different solutions are under consideration
SR('I')
always return the imaginary unit (and useSR.var(string)
to create variables)SR.I()
as a method and letSR(string)
always return a variableSR.e()
,SR.I()
,SR.pi()
for named constants and letSR(string)
always create variables.e
,I
,pi
, etc as variable names.CC: @rwst @slel @spaghettisalat
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/25178
The text was updated successfully, but these errors were encountered: