summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Krenn <devel@danielkrenn.at>2015-01-04 14:28:13 +0100
committerDaniel Krenn <devel@danielkrenn.at>2015-01-04 14:28:13 +0100
commita7da4034a5d212ac317aa5d1c56f0317a63ed35d (patch)
tree754e8c3ded2bb4792603464c6244e5ec49f33006
parentrepr of FractionWithFactoredDenominatorSum returns + between terms (diff)
remove .list, since not needed any may lead to confusion
-rw-r--r--src/sage/combinat/asymptotics_multivariate_generating_functions.py23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/sage/combinat/asymptotics_multivariate_generating_functions.py b/src/sage/combinat/asymptotics_multivariate_generating_functions.py
index 62c4bcb..1a88f69 100644
--- a/src/sage/combinat/asymptotics_multivariate_generating_functions.py
+++ b/src/sage/combinat/asymptotics_multivariate_generating_functions.py
@@ -459,28 +459,17 @@ class FractionWithFactoredDenominator(sage.structure.element.RingElement):
return None
- def list(self):
+ def quotient(self):
r"""
- Convert ``self`` into a list.
+ Convert ``self`` into a quotient.
- EXAMPLES::
+ INPUT:
- sage: from sage.combinat.asymptotics_multivariate_generating_functions import FractionWithFactoredDenominatorRing
- sage: R.<x,y> = PolynomialRing(QQ)
- sage: FFPD = FractionWithFactoredDenominatorRing(R)
- sage: H = (1 - x - y - x*y)**2*(1-x)
- sage: Hfac = H.factor()
- sage: G = exp(y)/Hfac.unit()
- sage: F = FFPD(G, Hfac)
- sage: F.list()
- [-e^y, [(x - 1, 1), (x*y + x + y - 1, 2)]]
- """
- return [self.numerator(), self.denominator_factored()]
+ Nothing.
+ OUTPUT:
- def quotient(self):
- r"""
- Convert ``self`` into a quotient.
+ An element.
EXAMPLES::