diff options
author | dos-reis <gdr@axiomatics.org> | 2008-04-03 04:23:42 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-04-03 04:23:42 +0000 |
commit | 001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch) | |
tree | da9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/ddfact.spad.pamphlet | |
parent | a7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff) | |
download | open-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz |
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/ddfact.spad.pamphlet')
-rw-r--r-- | src/algebra/ddfact.spad.pamphlet | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/ddfact.spad.pamphlet b/src/algebra/ddfact.spad.pamphlet index 3871a8b8..97b8f811 100644 --- a/src/algebra/ddfact.spad.pamphlet +++ b/src/algebra/ddfact.spad.pamphlet @@ -101,12 +101,12 @@ DistinctDegreeFactorize(F,FP): C == T factlist : List(ParFact) :=empty() llf : List FFE fln :List(FP) := empty() - if (lcm:=leadingCoefficient m)^=1 then m:=(inv lcm)*m + if (lcm:=leadingCoefficient m)~=1 then m:=(inv lcm)*m llf:= factorList(squareFree(m)) for lf in llf repeat d1:= lf.xpnt pol := lf.fctr - if (lcp:=leadingCoefficient pol)^=1 then pol := (inv lcp)*pol + if (lcp:=leadingCoefficient pol)~=1 then pol := (inv lcp)*pol degree pol=1 => factlist:=cons([pol,d1]$ParFact,factlist) fln := appl(pol) factlist :=append([[pf,d1]$ParFact for pf in fln],factlist) @@ -159,7 +159,7 @@ DistinctDegreeFactorize(F,FP): C == T g := gcd(v-mon,u) dg := degree g dg =0 => "next k1" - if leadingCoefficient g ^=1 then g := (inv leadingCoefficient g)*g + if leadingCoefficient g ~=1 then g := (inv leadingCoefficient g)*g ddfact := cons([k1,g]$fact,ddfact) testirr => return ddfact u := u quo g @@ -222,7 +222,7 @@ DistinctDegreeFactorize(F,FP): C == T fln : List(FP) :=empty() --make m monic - if (lcm := leadingCoefficient m) ^=1 then m := (inv lcm)*m + if (lcm := leadingCoefficient m) ~=1 then m := (inv lcm)*m --is x**d factor of m? if (d := minimumDegree m)>0 then |