aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/derham.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/derham.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/derham.spad.pamphlet')
-rw-r--r--src/algebra/derham.spad.pamphlet10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/algebra/derham.spad.pamphlet b/src/algebra/derham.spad.pamphlet
index eb06ae86..06bb096c 100644
--- a/src/algebra/derham.spad.pamphlet
+++ b/src/algebra/derham.spad.pamphlet
@@ -87,7 +87,7 @@ ExtAlgBasis(): Export == Implement where
coerce(li:(L I)) ==
for x in li repeat
- if x ^= 1 and x ^= 0 then error "coerce: values can only be 0 and 1"
+ if x ~= 1 and x ~= 0 then error "coerce: values can only be 0 and 1"
li
degree x == (_+/x)::NNI
@@ -209,7 +209,7 @@ AntiSymm(R:Ring, lVar:List Symbol): Export == Implement where
null a => true
siz := _+/exponents(a.first.base)
for ta in reductum a repeat
- _+/exponents(ta.base) ^= siz => return false
+ _+/exponents(ta.base) ~= siz => return false
true
degree a ==
@@ -255,7 +255,7 @@ AntiSymm(R:Ring, lVar:List Symbol): Export == Implement where
for ta in a repeat
stuff:=Nalpha(ta.base,tb.base)
r:=first(stuff)*ta.coef*tb.coef
- if r ^= 0 then z := z + [[rest(stuff)::EAB, r]]
+ if r ~= 0 then z := z + [[rest(stuff)::EAB, r]]
z
coerce(r):% ==
@@ -289,7 +289,7 @@ AntiSymm(R:Ring, lVar:List Symbol): Export == Implement where
makeTerm:(R,EAB) -> O
makeTerm(r,x) ==
- -- we know that r ^= 0
+ -- we know that r ~= 0
x = Nul(dim)$EAB => r::O
-- one? r => displayList(x)
(r = 1) => displayList(x)
@@ -400,7 +400,7 @@ DeRhamComplex(CoefRing,listIndVar:List Symbol): Export == Implement where
makeTerm:(R,EAB) -> O
makeTerm(r,x) ==
- -- we know that r ^= 0
+ -- we know that r ~= 0
x = Nul(dim)$EAB => r::O
-- one? r => displayList(x)
(r = 1) => displayList(x)