@@ -8719,37 +8719,53 @@ def generating_function_of_integral_points(self, **kwds):
8719
8719
The following keyword arguments are passed to
8720
8720
:func:`~sage.geometry.polyhedron.generating_function.generating_function_of_integral_points`:
8721
8721
8722
- - ``split`` -- (default: ``False``) ``False`` computes the generating
8723
- function directly, whereas ``True`` splits the ``polyhedron``
8724
- into several small disjoint polyhedra and adds the results.
8725
- ``split`` may also be a list of disjoint polyhedra.
8722
+ - ``split`` -- (default: ``False``) a boolean or list
8723
+
8724
+ - ``split=False`` computes the generating function directly,
8725
+ without any splitting.
8726
+
8727
+ - When ``split`` is a list of disjoint polyhedra, then
8728
+ for each of these polyhedra, this polyhedron is intersected with it,
8729
+ its generating function computed and all these generating functions
8730
+ are summed up.
8731
+
8732
+ - ``split=True`` splits into `d!` disjoint polyhedra.
8726
8733
8727
8734
- ``result_as_tuple`` -- (default: ``None``) a boolean or ``None``
8728
- specifying whether the output is a (partial) factorization
8735
+
8736
+ This specifies whether the output is a (partial) factorization
8729
8737
(``result_as_tuple=False``) or a sum of such (partial)
8730
8738
factorizations (``result_as_tuple=True``). By default
8731
8739
(``result_as_tuple=None``), this is automatically determined.
8732
8740
If the output is a sum, it is represented as a tuple whose
8733
8741
entries are the summands.
8734
8742
8735
- - ``indices`` -- (default: ``None``) a list or tuple. If this
8743
+ - ``indices`` -- (default: ``None``) a list or tuple
8744
+
8745
+ If this
8736
8746
is ``None``, this is automatically determined.
8737
8747
8738
- - ``name`` -- (default: ``'y'``) a string.
8748
+ - ``name`` -- (default: ``'y'``) a string
8749
+
8739
8750
The variable names of the Laurent polynomial ring of the output
8740
8751
are this string followed by an integer.
8741
8752
8742
- - ``names`` -- a list or tuple of names (strings), or a comma separated string.
8753
+ - ``names`` -- a list or tuple of names (strings), or a comma separated string
8754
+
8743
8755
``name`` is extracted from ``names``, therefore ``names`` has to contain
8744
8756
exactly one variable name, and ``name`` and``names`` cannot be specified
8745
8757
both at the same time.
8746
8758
8747
8759
- ``Factorization_sort`` (default: ``False``) and
8748
- ``Factorization_simplify`` (default: ``True``) -- are passed on to
8760
+ ``Factorization_simplify`` (default: ``True``) -- booleans
8761
+
8762
+ These are passed on to
8749
8763
:class:`sage.structure.factorization.Factorization` when creating
8750
8764
the result.
8751
8765
8752
- - ``sort_factors`` -- (default: ``False``) a boolean. If set, then
8766
+ - ``sort_factors`` -- (default: ``False``) a boolean
8767
+
8768
+ If set, then
8753
8769
the factors of the output are sorted such that the numerator is
8754
8770
first and only then all factors of the denominator. It is ensured
8755
8771
that the sorting is always the same; use this for doctesting.
@@ -8758,10 +8774,16 @@ def generating_function_of_integral_points(self, **kwds):
8758
8774
8759
8775
The generating function as a (partial)
8760
8776
:class:`~sage.structure.factorization.Factorization`
8761
- of the result whose factors are laurent polynomials.
8777
+ of the result whose factors are Laurent polynomials
8778
+
8762
8779
The result might be a tuple of such factorizations
8763
8780
(depending on the parameter ``result_as_tuple``) as well.
8764
8781
8782
+ .. NOTE::
8783
+
8784
+ At the moment, only polyhedra with nonnegative coordinates
8785
+ (i.e. a polyhedron in the nonnegative orthant) are handled.
8786
+
8765
8787
EXAMPLES::
8766
8788
8767
8789
sage: P2 = (
0 commit comments