aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/naalg.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/naalg.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/naalg.spad.pamphlet')
-rw-r--r--src/algebra/naalg.spad.pamphlet10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/algebra/naalg.spad.pamphlet b/src/algebra/naalg.spad.pamphlet
index ec93ce54..f252ef74 100644
--- a/src/algebra/naalg.spad.pamphlet
+++ b/src/algebra/naalg.spad.pamphlet
@@ -491,7 +491,7 @@ second argument")
structuralConstants(ls:L S, mt: M POLY R) ==
nn := #(ls)
- nrows(mt) ^= nn or ncols(mt) ^= nn =>
+ nrows(mt) ~= nn or ncols(mt) ~= nn =>
error "structuralConstants: size of second argument does not _
agree with number of generators"
gamma : L M POLY R := []
@@ -505,14 +505,14 @@ agree with number of generators"
totalDegree(p,ls) > 1 =>
error "structuralConstants: entries of second argument _
must be linear polynomials in the generators"
- if (c := coefficient(p, s, 1) ) ^= 0 then qsetelt_!(mat,i,j,c)
+ if (c := coefficient(p, s, 1) ) ~= 0 then qsetelt_!(mat,i,j,c)
gamma := cons(mat, gamma)
lscopy := rest lscopy
vector reverse gamma
structuralConstants(ls:L S, mt: M FRAC POLY R) ==
nn := #(ls)
- nrows(mt) ^= nn or ncols(mt) ^= nn =>
+ nrows(mt) ~= nn or ncols(mt) ~= nn =>
error "structuralConstants: size of second argument does not _
agree with number of generators"
gamma : L M FRAC(POLY R) := []
@@ -524,14 +524,14 @@ agree with number of generators"
for j in 1..nn repeat
r := qelt(mt,i,j)
q := denom(r)
- totalDegree(q,ls) ^= 0 =>
+ totalDegree(q,ls) ~= 0 =>
error "structuralConstants: entries of second argument _
must be (linear) polynomials in the generators"
p := numer(r)
totalDegree(p,ls) > 1 =>
error "structuralConstants: entries of second argument _
must be linear polynomials in the generators"
- if (c := coefficient(p, s, 1) ) ^= 0 then qsetelt_!(mat,i,j,c/q)
+ if (c := coefficient(p, s, 1) ) ~= 0 then qsetelt_!(mat,i,j,c/q)
gamma := cons(mat, gamma)
lscopy := rest lscopy
vector reverse gamma