aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/ffhom.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
commit001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch)
treeda9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/ffhom.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/ffhom.spad.pamphlet')
-rw-r--r--src/algebra/ffhom.spad.pamphlet6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/ffhom.spad.pamphlet b/src/algebra/ffhom.spad.pamphlet
index 50bf7ef1..6195d5b6 100644
--- a/src/algebra/ffhom.spad.pamphlet
+++ b/src/algebra/ffhom.spad.pamphlet
@@ -98,7 +98,7 @@ FiniteFieldHomomorphisms(F1,GF,F2): Exports == Implementation where
-- a necessary condition for the one field being an subfield of
-- the other one is, that the respective extension degrees are
-- multiples
- if max(degree1,degree2) rem min(degree1,degree2) ^= 0 then
+ if max(degree1,degree2) rem min(degree1,degree2) ~= 0 then
error "FFHOM: one extension degree must divide the other one"
conMat1to2:M:= zero(degree2,degree1)$M
@@ -349,7 +349,7 @@ FiniteFieldHomomorphisms(F1,GF,F2): Exports == Implementation where
-- whether the element is in the subfield of the 'bigger' field, which
-- corresponds to the 'smaller' field
if degree1 > degree2 then
- if positiveRemainder(degree2,degree(x)$F1)^= 0 then
+ if positiveRemainder(degree2,degree(x)$F1)~= 0 then
error "coerce: element doesn't belong to smaller field"
represents(conMat1to2 *$(Matrix GF) coordinates(x)$F1)$F2
@@ -381,7 +381,7 @@ FiniteFieldHomomorphisms(F1,GF,F2): Exports == Implementation where
convertWRTdifferentDefPol21(x:F2) ==
if init? then initialize()
if degree2 > degree1 then
- if positiveRemainder(degree1,degree(x)$F2)^= 0 then
+ if positiveRemainder(degree1,degree(x)$F2)~= 0 then
error "coerce: element doesn't belong to smaller field"
represents(conMat2to1 *$(Matrix GF) coordinates(x)$F2)$F1