aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/indexedp.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/indexedp.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/indexedp.spad.pamphlet')
-rw-r--r--src/algebra/indexedp.spad.pamphlet10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/algebra/indexedp.spad.pamphlet b/src/algebra/indexedp.spad.pamphlet
index 41f9bc89..34d62e96 100644
--- a/src/algebra/indexedp.spad.pamphlet
+++ b/src/algebra/indexedp.spad.pamphlet
@@ -65,8 +65,8 @@ IndexedDirectProductObject(A:SetCategory,S:OrderedSet): IndexedDirectProductCate
--define
x = y ==
while not null x and _^ null y repeat
- x.first.k ^= y.first.k => return false
- x.first.c ^= y.first.c => return false
+ x.first.k ~= y.first.k => return false
+ x.first.c ~= y.first.c => return false
x:=x.rest
y:=y.rest
null x and null y
@@ -159,10 +159,10 @@ IndexedDirectProductAbelianMonoid(A:AbelianMonoid,S:OrderedSet):
n * x ==
n = 0 => 0
n = 1 => x
- [[u.k,a] for u in x | (a:=n*u.c) ^= 0$A]
+ [[u.k,a] for u in x | (a:=n*u.c) ~= 0$A]
monomial(r,s) == (r = 0 => 0; [[s,r]])
- map(f,x) == [[tm.k,a] for tm in x | (a:=f(tm.c)) ^= 0$A]
+ map(f,x) == [[tm.k,a] for tm in x | (a:=f(tm.c)) ~= 0$A]
reductum x == (null x => 0; rest x)
leadingCoefficient x == (null x => 0; x.first.c)
@@ -253,7 +253,7 @@ IndexedDirectProductAbelianGroup(A:AbelianGroup,S:OrderedSet):
n * x ==
n = 0 => 0
n = 1 => x
- [[u.k,a] for u in x | (a:=n*u.c) ^= 0$A]
+ [[u.k,a] for u in x | (a:=n*u.c) ~= 0$A]
qsetrest!: (Rep, Rep) -> Rep
qsetrest!(l: Rep, e: Rep): Rep == RPLACD(l, e)$Lisp