]> www.ginac.de Git - ginac.git/commitdiff
Correct wording in tutorial regarding degree(), ldegree().
authorRichard Kreckel <kreckel@ginac.de>
Sun, 10 Jun 2018 11:46:39 +0000 (13:46 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Sun, 10 Jun 2018 11:51:07 +0000 (13:51 +0200)
doc/tutorial/ginac.texi

index 710e06f8bb97ba77c996707265e9aa51c04e4cf6..3ec34c35032d25a78942fa615849b37e1808c353 100644 (file)
@@ -5131,18 +5131,17 @@ a*(2*x*y+y^2+x^2)
 @cindex @code{ldegree()}
 @cindex @code{coeff()}
 
-The degree and low degree of a polynomial can be obtained using the two
-methods
+The degree and low degree of a polynomial in expanded form can be obtained
+using the two methods
 
 @example
 int ex::degree(const ex & s);
 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). By definition, the
-degree of zero is zero. To extract a coefficient with a certain power from
-an expanded polynomial you use
+These functions even work 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);