X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Findexed.h;h=f539444e7b29f04b39edf42bbf38d0059ecd1924;hb=09f37bdbd46f469b3a8a902a43d0f795c41a89bf;hp=3f1b655e90db5d776fe0bd0cb789d0bf0c25012b;hpb=e7cc6a764ff67b5885d6633385fac23ccc1dc9a7;p=ginac.git diff --git a/ginac/indexed.h b/ginac/indexed.h index 3f1b655e..f539444e 100644 --- a/ginac/indexed.h +++ b/ginac/indexed.h @@ -42,6 +42,7 @@ class indexed : public exprseq friend ex simplify_indexed(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp); friend ex simplify_indexed_product(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp); + friend bool reposition_dummy_indices(ex & e, exvector & variant_dummy_indices, exvector & moved_indices); // other constructors public: @@ -145,9 +146,6 @@ public: void print(const print_context & c, unsigned level = 0) const; bool info(unsigned inf) const; ex eval(int level = 0) const; - int degree(const ex & s) const; - int ldegree(const ex & s) const; - ex coeff(const ex & s, int n = 1) const; exvector get_free_indices(void) const; protected: