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/multpoly.spad.pamphlet | |
parent | a7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff) | |
download | open-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz |
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/multpoly.spad.pamphlet')
-rw-r--r-- | src/algebra/multpoly.spad.pamphlet | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/multpoly.spad.pamphlet b/src/algebra/multpoly.spad.pamphlet index 86e5548a..99ab7833 100644 --- a/src/algebra/multpoly.spad.pamphlet +++ b/src/algebra/multpoly.spad.pamphlet @@ -180,7 +180,7 @@ SparseMultivariatePolynomial(R: Ring,VarSet: OrderedSet): C == T where monomial? p == p case R => true sup : D := p.ts - 1 ^= numberOfMonomials(sup) => false + 1 ~= numberOfMonomials(sup) => false monomial? leadingCoefficient(sup)$D -- local @@ -487,11 +487,11 @@ SparseMultivariatePolynomial(R: Ring,VarSet: OrderedSet): C == T where gcd(leadingCoefficient b, content a)::SUP $ conta := content a mona:SUP $ := monomial(conta, minimumDegree a) - if mona ^= 1 then + if mona ~= 1 then a := (a exquo mona)::SUP $ contb := content b monb:SUP $ := monomial(contb, minimumDegree b) - if monb ^= 1 then + if monb ~= 1 then b := (b exquo monb)::SUP $ mong:SUP $ := monomial(gcd(conta, contb), min(degree mona, degree monb)) @@ -618,7 +618,7 @@ SparseMultivariatePolynomial(R: Ring,VarSet: OrderedSet): C == T where u := univariate(p, mv := mainVariable(p)::VarSet) weight:NonNegativeInteger := (member?(mv,Lvar) => 1; 0) tdeg:NonNegativeInteger := 0 - while u ^= 0 repeat + while u ~= 0 repeat termdeg:NonNegativeInteger := weight*degree u + totalDegree(leadingCoefficient u, Lvar) tdeg := max(tdeg, termdeg) |