From: Richard Kreckel Date: Thu, 1 Jan 2004 18:06:32 +0000 (+0000) Subject: * Mention our convention degree(0) == 0. X-Git-Tag: release_1-2-0~34 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=6c2fdb1683811e189b9c80cbd140577346be3c63;ds=inline * Mention our convention degree(0) == 0. --- 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);