From: Christian Bauer Date: Mon, 15 Nov 2004 14:23:17 +0000 (+0000) Subject: explain what we mean by "cofactor" X-Git-Tag: release_1-4-0~205 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=a899ee390aaa5c2653d161388e457dbbe3cf2dd0 explain what we mean by "cofactor" --- diff --git a/ginac/normal.cpp b/ginac/normal.cpp index 47fec508..2bcba41a 100644 --- a/ginac/normal.cpp +++ b/ginac/normal.cpp @@ -1263,7 +1263,8 @@ static ex heur_gcd(const ex &a, const ex &b, ex *ca, ex *cb, sym_desc_vec::const /** Compute GCD (Greatest Common Divisor) of multivariate polynomials a(X) - * and b(X) in Z[X]. + * and b(X) in Z[X]. Optionally also compute the cofactors of a and b, + * defined by a = ca * gcd(a, b) and b = cb * gcd(a, b). * * @param a first multivariate polynomial * @param b second multivariate polynomial