Home
last modified time | relevance | path

Searched refs:theGcd (Results 1 – 3 of 3) sorted by relevance

/dports/math/singular/Singular-Release-4-2-1/kernel/fglm/
H A Dfglmvec.cc463 number theGcd; in gcd() local
470 theGcd = nCopy (current); in gcd()
472 if(!nGreaterZero (theGcd)) in gcd()
474 theGcd = nInpNeg (theGcd); in gcd()
476 if(nIsOne (theGcd)) in gcd()
488 number temp = n_SubringGcd (theGcd, current, currRing->cf); in gcd()
489 nDelete (&theGcd); in gcd()
490 theGcd = temp; in gcd()
491 if(nIsOne (theGcd)) in gcd()
498 theGcd = nInit (0); in gcd()
[all …]
/dports/math/singular/Singular-Release-4-2-1/libpolys/polys/ext_fields/
H A Dalgext.cc198 poly theGcd = p_ExtGcdHelper(q, qqFactor, p, ppFactor, r); in p_ExtGcdHelper() local
203 return theGcd; in p_ExtGcdHelper()
224 poly theGcd = p_ExtGcdHelper(a, aFactor, b, bFactor, r); in p_ExtGcd() local
227 return theGcd; in p_ExtGcd()
625 number theGcd = naGcd(a, b, cf);
626 return naDiv(theProduct, theGcd, cf);
823 poly aFactor = NULL; poly mFactor = NULL; poly theGcd = NULL; in naInvers() local
825 const BOOLEAN ret = singclap_extgcd ((poly)a, naMinpoly, theGcd, aFactor, mFactor, naRing); in naInvers()
831 naTest((number)theGcd); naTest((number)aFactor); naTest((number)mFactor); in naInvers()
837 if( !naIsOne((number)theGcd, cf) ) in naInvers()
[all …]
/dports/math/singular/Singular-Release-4-2-1/libpolys/tests/
H A Dpolys_test.h2178 number theGcd = n_Gcd(z, y, cf); // should yield w = (b^2 + 7b + 1)^2 in test_Q_Ext_b() local
2179 clog << "gcd(z, y) = "; p_Write((poly)theGcd, cf->extRing); in test_Q_Ext_b()
2181 v = (poly)n_Sub(theGcd, w, cf); in test_Q_Ext_b()
2191 v = (poly)n_Sub(theGcd, (number)ppp, cf); in test_Q_Ext_b()
2209 n_Delete(&theGcd, cf); p_Delete(&v, cf->extRing); n_Delete(&v1, cf); in test_Q_Ext_b()