aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/leadcdet.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/leadcdet.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/leadcdet.spad.pamphlet')
-rw-r--r--src/algebra/leadcdet.spad.pamphlet8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/leadcdet.spad.pamphlet b/src/algebra/leadcdet.spad.pamphlet
index 73635266..21a1048f 100644
--- a/src/algebra/leadcdet.spad.pamphlet
+++ b/src/algebra/leadcdet.spad.pamphlet
@@ -62,7 +62,7 @@ LeadingCoefDetermination(OV,E,Z,P) : C == T
q := unitNormal(lval.i).canonical
for j in 0..(i-1)::NNI repeat
y := distlist.((i-j)::NNI)
- while y^=1 repeat
+ while y~=1 repeat
y := gcd(y,q)
q := q quo y
if q=1 then return false
@@ -87,7 +87,7 @@ LeadingCoefDetermination(OV,E,Z,P) : C == T
d := vl.i quo d
unilist.i := d*unilist.i
contm := contm quo d
- if contm ^=1 then for i in 1..nf repeat pl.i := contm*pl.i
+ if contm ~=1 then for i in 1..nf repeat pl.i := contm*pl.i
[pl,contm,unilist]$LeadFact
distFact(contm:Z,unilist:List(BP),plead:FinalFact,
@@ -109,7 +109,7 @@ LeadingCoefDetermination(OV,E,Z,P) : C == T
for k in 1..(# lpol) repeat
lexp.k=0 => "next factor"
h:= checkpow(vl.k,c)
- if h ^=0 then
+ if h ~=0 then
if h>lexp.k then return "failed"
lexp.k:=lexp.k-h
aux.i := aux.i*(lpol.k ** h)
@@ -117,7 +117,7 @@ LeadingCoefDetermination(OV,E,Z,P) : C == T
vlp.i:= vlp.i*d
c:= c quo d
if contm=1 then vlp.i:=c
- for k in 1..(# lpol) repeat if lexp.k ^= 0 then return "failed"
+ for k in 1..(# lpol) repeat if lexp.k ~= 0 then return "failed"
contm =1 => [[vlp.i*aux.i for i in 1..nf],1,unilist]$LeadFact
distribute(contm,unilist,aux,vlp,lvar,lval)