X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Findexed.cpp;h=6c2683c30b715e4640cc090a660f6068d9e780e5;hp=b852416f5a9f8edcaf38cf659002a97267694fc4;hb=359701cc948001e58e6517d88a30fe385d4e42d5;hpb=e7cc6a764ff67b5885d6633385fac23ccc1dc9a7 diff --git a/ginac/indexed.cpp b/ginac/indexed.cpp index b852416f..6c2683c3 100644 --- a/ginac/indexed.cpp +++ b/ginac/indexed.cpp @@ -274,24 +274,6 @@ ex indexed::eval(int level) const return ex_to(base).eval_indexed(*this); } -int indexed::degree(const ex & s) const -{ - return is_equal(ex_to(s)) ? 1 : 0; -} - -int indexed::ldegree(const ex & s) const -{ - return is_equal(ex_to(s)) ? 1 : 0; -} - -ex indexed::coeff(const ex & s, int n) const -{ - if (is_equal(ex_to(s))) - return n==1 ? _ex1 : _ex0; - else - return n==0 ? ex(*this) : _ex0; -} - ex indexed::thisexprseq(const exvector & v) const { return indexed(ex_to(symtree), v);