Skip to content
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

implement SR.next_variable() #15831

Open
rwst opened this issue Feb 18, 2014 · 1 comment
Open

implement SR.next_variable() #15831

rwst opened this issue Feb 18, 2014 · 1 comment

Comments

@rwst
Copy link

rwst commented Feb 18, 2014

Idea by ppurka in #14403. Something like this, not necessarily digit suffixes:

sage: SR.next_variable('x') # suppose x, x0, x1 are already defined
x2
sage: SR.next_variable('x2')
x3
sage: SR.next_variable('x0y') # suppose that x0y is not yet defined.
x0y

This would be better than

sage: SR.symbol()
symbol161
sage: SR.symbol()
symbol164

See also #14972

CC: @eviatarbach

Component: symbolics

Keywords: variable

Issue created by migration from https://trac.sagemath.org/ticket/15831

@rwst rwst added this to the sage-6.2 milestone Feb 18, 2014
@rwst

This comment has been minimized.

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants