static ModularResultant combineRho(ModularResultant modRes1, ModularResultant modRes2)
{
BigInteger mod1 = modRes1.modulus;
BigInteger mod2 = modRes2.modulus;
BigInteger prod = mod1.multiply(mod2);
BigIntEuclidean er = BigIntEuclidean.calculate(mod2, mod1);
BigIntPolynomial rho1 = (BigIntPolynomial)modRes1.rho.clone();
rho1.mult(er.x.multiply(mod2));
BigIntPolynomial rho2 = (BigIntPolynomial)modRes2.rho.clone();
rho2.mult(er.y.multiply(mod1));