Avoid unnecessary expansion in sqrfree_yun().
authorRichard Kreckel <kreckel@ginac.de>
Fri, 21 Aug 2020 15:47:19 +0000 (17:47 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Fri, 21 Aug 2020 15:47:19 +0000 (17:47 +0200)
commite65cbada7281938475aa0cf31a3d56405ac91d4e
tree71c52bc4347b83f96e8784a0151e19feca809020
parent9e79f663bc37462a414ed1e41158b34e115b3ab5
Avoid unnecessary expansion in sqrfree_yun().

Don't make the polynomial primitive inside Yun's algorithm. Computing the
primitive part will incur an extra expansion of the polynomial and this
may distroy a pre-factored structure in the other variables. In the multi-
variate case, working with primitive polynomials isn't sufficient anyways
to avoid a final division to discover lost factors.
ginac/normal.cpp