diff options
Diffstat (limited to 'src/algebra/groebf.spad.pamphlet')
-rw-r--r-- | src/algebra/groebf.spad.pamphlet | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/algebra/groebf.spad.pamphlet b/src/algebra/groebf.spad.pamphlet index 68cc216c..47225404 100644 --- a/src/algebra/groebf.spad.pamphlet +++ b/src/algebra/groebf.spad.pamphlet @@ -200,8 +200,8 @@ GroebnerFactorizationPackage(Dom, Expon, VarSet, Dpol): T == C where basis := [[0,1$Dpol]$sugarPol] terminateWithBasis := true - -- if "nP" ^= 0, then we continue, otherwise we determine next "nP" - nP ^= 0$Dpol => + -- if "nP" ~= 0, then we continue, otherwise we determine next "nP" + nP ~= 0$Dpol => -- now we divide "nP", if possible, by the polynomials -- from "nonZeroRestrictions" for q in nonZeroRestrictions repeat @@ -224,8 +224,8 @@ GroebnerFactorizationPackage(Dom, Expon, VarSet, Dpol): T == C where basis := [[0,1$Dpol]$sugarPol] terminateWithBasis := true -- doSplitting? is still false - -- if "nP" ^= 0, then we continue, otherwise we determine next "nP" - nP ^= 0$Dpol => + -- if "nP" ~= 0, then we continue, otherwise we determine next "nP" + nP ~= 0$Dpol => -- now we factorize "nP", which is not constant irreducibleFactors : L Dpol := createAllFactors(nP) -- if there are more than 1 factors we reduce them and split @@ -254,7 +254,7 @@ GroebnerFactorizationPackage(Dom, Expon, VarSet, Dpol): T == C where doSplitting? => for fnP in allReducedFactors repeat - if fnP ^= 1$Dpol + if fnP ~= 1$Dpol then newInputPolys : L Dpol := _ sort( degree #1 > degree #2 ,cons(fnP,inputPolys)) |