aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/lodo.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/lodo.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/lodo.spad.pamphlet')
-rw-r--r--src/algebra/lodo.spad.pamphlet6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/lodo.spad.pamphlet b/src/algebra/lodo.spad.pamphlet
index c25901eb..dbf0cdbc 100644
--- a/src/algebra/lodo.spad.pamphlet
+++ b/src/algebra/lodo.spad.pamphlet
@@ -59,7 +59,7 @@ LinearOrdinaryDifferentialOperatorCategory(A:Ring): Category ==
adjoint a ==
ans:% := 0
- while a ^= 0 repeat
+ while a ~= 0 repeat
ans := ans + m1monom(degree a) * leadingCoefficient(a)::%
a := reductum a
ans
@@ -118,7 +118,7 @@ LinearOrdinaryDifferentialOperatorsOps(A, L): Exports == Implementation where
killer : (P, N, List V, List P, A -> A) -> L
vec2LODO : Vector A -> L
- nonTrivial? v == any?(#1 ^= 0, v)$Vector(A)
+ nonTrivial? v == any?(#1 ~= 0, v)$Vector(A)
vec2LODO v == +/[monomial(v.i, (i-1)::N) for i in 1..#v]
symmetricPower(l, m, diff) ==
@@ -164,7 +164,7 @@ LinearOrdinaryDifferentialOperatorsOps(A, L): Exports == Implementation where
applyLODO(l, v) ==
p:P := 0
- while l ^= 0 repeat
+ while l ~= 0 repeat
p := p + monomial(leadingCoefficient(l)::P,
differentiate(v, degree l), 1)
l := reductum l