From 6c2fdb1683811e189b9c80cbd140577346be3c63 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Thu, 1 Jan 2004 18:06:32 +0000 Subject: [PATCH] * Mention our convention degree(0) == 0. --- doc/tutorial/ginac.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index eaae40af..323c6eb2 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -4182,8 +4182,9 @@ int ex::ldegree(const ex & s); @end example which also work reliably on non-expanded input polynomials (they even work -on rational functions, returning the asymptotic degree). To extract -a coefficient with a certain power from an expanded polynomial you use +on rational functions, returning the asymptotic degree). By definition, the +degree of zero is zero. To extract a coefficient with a certain power from +an expanded polynomial you use @example ex ex::coeff(const ex & s, int n); -- 2.44.0