]> www.ginac.de Git - ginac.git/blobdiff - ginac/basic.h
sums of indexed matrices are now possible
[ginac.git] / ginac / basic.h
index 842417cad1ff6a5a780cc491b2a8658dfe65413e..4277d949e83e5bca42a71b60131c4a0dada6a552 100644 (file)
@@ -130,7 +130,8 @@ public: // only const functions please (may break reference counting)
        virtual exvector get_free_indices(void) const;
        virtual ex simplify_ncmul(const exvector & v) const;
        virtual ex eval_indexed(const basic & i) const;
-       virtual bool contract_with(ex & self, ex & other) const;
+       virtual ex add_indexed(const ex & self, const ex & other) const;
+       virtual bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const;
 protected: // non-const functions should be called from class ex only
        virtual ex derivative(const symbol & s) const;
        virtual int compare_same_type(const basic & other) const;