aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/fff.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-06-11 23:00:40 +0000
committerdos-reis <gdr@axiomatics.org>2009-06-11 23:00:40 +0000
commit9e07dcd91c45bf8b22d932321f5c97e931ffe8ac (patch)
tree6d2174e90e5779b1b3ab4ae7df3ae6603b66c6c2 /src/algebra/fff.spad.pamphlet
parent7bd82b57975bbc1ff5b87fed0739815c620ecdcc (diff)
downloadopen-axiom-9e07dcd91c45bf8b22d932321f5c97e931ffe8ac.tar.gz
* algebra/: Don't quote '!' at end of names.
Diffstat (limited to 'src/algebra/fff.spad.pamphlet')
-rw-r--r--src/algebra/fff.spad.pamphlet12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/algebra/fff.spad.pamphlet b/src/algebra/fff.spad.pamphlet
index b73ecc98..d2cc0f7a 100644
--- a/src/algebra/fff.spad.pamphlet
+++ b/src/algebra/fff.spad.pamphlet
@@ -172,7 +172,7 @@ FiniteFieldFunctions(GF): Exports == Implementation where
-- take -v.j to get trace 1 instead of -1
term:TERM:=[(convert(-v.j)@I)::GF,(j-2) pretend SI]$TERM
l:=cons(term,l)$(L TERM)
- qsetelt_!(multtable,i,copy l)$(V L TERM)
+ qsetelt!(multtable,i,copy l)$(V L TERM)
multtable
sizeMultiplication(m) ==
@@ -199,17 +199,17 @@ FiniteFieldFunctions(GF): Exports == Implementation where
qexp:PrimitiveArray(MM):=new(m,0)
qexp.0:=reduce(monomial(1,1)$SUP)$MM
mat:M GF:=zero(m,m)$(M GF)
- qsetelt_!(mat,2,1,1$GF)$(M GF)
+ qsetelt!(mat,2,1,1$GF)$(M GF)
h:=qpow.1
qexp.1:=h
- setColumn_!(mat,2,Vectorise(h)$MM)$(M GF)
+ setColumn!(mat,2,Vectorise(h)$MM)$(M GF)
for i in 2..m1 repeat
g:=0$MM
while h ~= 0 repeat
g:=g + leadingCoefficient(h) * qpow.degree(h)$MM
h:=reductum(h)$MM
qexp.i:=g
- setColumn_!(mat,i+1,Vectorise(h:=g)$MM)$(M GF)
+ setColumn!(mat,i+1,Vectorise(h:=g)$MM)$(M GF)
-- loop invariant: qexp.i = x**(q**i)
mat1:=inverse(mat)$(M GF)
mat1 = "failed" =>
@@ -224,7 +224,7 @@ FiniteFieldFunctions(GF): Exports == Implementation where
if (v.j ~= 0$GF) then
term:TERM:=[(v.j),j-(2::SI)]$TERM
l:=cons(term,l)$(L TERM)
- qsetelt_!(multtable,i,copy l)$(V L TERM)
+ qsetelt!(multtable,i,copy l)$(V L TERM)
multtable
@@ -257,7 +257,7 @@ FiniteFieldFunctions(GF): Exports == Implementation where
mat:M GF:=zero(n,n)$(M GF)
for i in 1..n repeat
for t in m.i repeat
- qsetelt_!(mat,i,t.index+2,t.value)
+ qsetelt!(mat,i,t.index+2,t.value)
mat
@