X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=doc%2Ftutorial%2Fginac.texi;h=380395fb6a50fb7afc4af958d7017ddc1caf8d1c;hp=4e789a514b8aaeef1ccf22879d23ce81855ce6aa;hb=8cf56f946fcd6ed8571120ab7d438d3a9e891cb6;hpb=3cbd851611c82629116046ecbe36fd85f373496c diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index 4e789a51..380395fb 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -4768,7 +4768,7 @@ It is always computed with respect to a specific symbol within the expressions. The function has the interface @example -ex resultant(const ex & a, const ex & b, const symbol & s); +ex resultant(const ex & a, const ex & b, const ex & s); @end example Resultants are symmetric in @code{a} and @code{b}. The following example @@ -4786,9 +4786,9 @@ int main() ex e1 = x+pow(y,2), e2 = 2*pow(x,3)-1; // x+y^2, 2*x^3-1 ex r; - r = resultant (e1, e2, x); + r = resultant(e1, e2, x); // -> 1+2*y^6 - r = resultant (e1, e2, y); + r = resultant(e1, e2, y); // -> 1-4*x^3+4*x^6 @} @end example