Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Chart: in the description of the argument coord_restrictions, replace…
Browse files Browse the repository at this point in the history
… all instances of 'restrictions' by 'coord_restrictions'
  • Loading branch information
mkoeppe committed Jul 8, 2021
1 parent 7c003db commit f85e710
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sage/manifolds/chart.py
Expand Up @@ -87,15 +87,16 @@ class Chart(UniqueRepresentation, SageObject):
- ``coord_restrictions``: Additional restrictions on the coordinates.
A restriction can be any symbolic equality or inequality involving
the coordinates, such as ``x > y`` or ``x^2 + y^2 != 0``. The items
of the list (or set or frozenset) ``restrictions`` are combined
of the list (or set or frozenset) ``coord_restrictions`` are combined
with the ``and`` operator; if some restrictions are to be combined with
the ``or`` operator instead, they have to be passed as a tuple in some
single item of the list (or set or frozenset) ``restrictions``. For example::
single item of the list (or set or frozenset) ``coord_restrictions``.
For example::
coord_restrictions=[x > y, (x != 0, y != 0), z^2 < x]
means ``(x > y) and ((x != 0) or (y != 0)) and (z^2 < x)``.
If the list ``restrictions`` contains only one item, this
If the list ``coord_restrictions`` contains only one item, this
item can be passed as such, i.e. writing ``x > y`` instead
of the single element list ``[x > y]``. If the chart variables have
not been declared as variables yet, ``coord_restrictions`` must
Expand Down

0 comments on commit f85e710

Please sign in to comment.