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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default domain of SR.var() #36841

Merged
merged 5 commits into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sage/symbolic/ring.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ cdef class SymbolicRing(sage.rings.abc.SymbolicRing):

- ``n`` -- (optional) positive integer; number of symbolic variables, indexed from `0` to `n-1`

- ``domain`` -- (optional) specify the domain of the variable(s); it is the complex plane
- ``domain`` -- (optional) specify the domain of the variable(s); it is None
by default, and possible options are (non-exhaustive list, see note below):
``'real'``, ``'complex'``, ``'positive'``, ``'integer'`` and ``'noninteger'``

Expand All @@ -780,7 +780,7 @@ cdef class SymbolicRing(sage.rings.abc.SymbolicRing):

EXAMPLES:

Create a variable `zz` (complex by default)::
Create a variable `zz`::

sage: zz = SR.var('zz'); zz
zz
Expand Down
Loading