diff options
author | dos-reis <gdr@axiomatics.org> | 2008-04-03 04:23:42 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-04-03 04:23:42 +0000 |
commit | 001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch) | |
tree | da9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/mts.spad.pamphlet | |
parent | a7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff) | |
download | open-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz |
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/mts.spad.pamphlet')
-rw-r--r-- | src/algebra/mts.spad.pamphlet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/mts.spad.pamphlet b/src/algebra/mts.spad.pamphlet index a7335877..1d26d0a1 100644 --- a/src/algebra/mts.spad.pamphlet +++ b/src/algebra/mts.spad.pamphlet @@ -142,7 +142,7 @@ SparseMultivariateTaylorSeries(Coef,Var,SMP):_ rst s eval(s:%,v:L Var,q:L %) == - #v ^= #q => + #v ~= #q => error "eval: number of variables should equal number of values" nq : L StS := [restCheck(i pretend StS) for i in q] addiag(map(csubst(v,nq),s pretend StS)$ST2(SMP,StS))$STT pretend % @@ -250,12 +250,12 @@ SparseMultivariateTaylorSeries(Coef,Var,SMP):_ n : NNI; count : NNI := _$streamCount$Lisp l : List OUT := empty() for n in 0..count while not empty? uu repeat - if frst(uu) ^= 0 then l := concat(tout frst uu,l) + if frst(uu) ~= 0 then l := concat(tout frst uu,l) uu := rst uu if showAll?() then for n in n.. while explicitEntries? uu and _ not eq?(uu,rst uu) repeat - if frst(uu) ^= 0 then l := concat(tout frst uu,l) + if frst(uu) ~= 0 then l := concat(tout frst uu,l) uu := rst uu l := explicitlyEmpty? uu => l |