X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fex.h;h=f2feba7338446cd0ab9257ac4955b5fab957d65d;hp=0e2adaf0fb9d211ab422606a6c3476a4ab6ecae5;hb=094911eb78cacb6f2877a70c9ac74766df58ccea;hpb=ad5dd77c6b19c4c7b8cda7f95584f02c01d17896;ds=sidebyside diff --git a/ginac/ex.h b/ginac/ex.h index 0e2adaf0..f2feba73 100644 --- a/ginac/ex.h +++ b/ginac/ex.h @@ -35,6 +35,7 @@ extern const ex & _ex0(void); ///< single ex(numeric(0)) class symbol; class lst; +class scalar_products; /** Lightweight wrapper for GiNaC's symbolic objects. Basically all it does is * to hold a pointer to the other objects, manage the reference counting and @@ -107,7 +108,9 @@ public: ex series(const ex & r, int order, unsigned options = 0) const; ex subs(const lst & ls, const lst & lr) const; ex subs(const ex & e) const; - exvector get_indices(void) const; + exvector get_free_indices(void) const; + ex simplify_indexed(void) const; + ex simplify_indexed(const scalar_products & sp) const; ex simplify_ncmul(const exvector & v) const; ex operator[](const ex & index) const; ex operator[](int i) const;