sums of indexed matrices are now possible
[ginac.git] / ginac / matrix.h
index 8c24dcf9043a423c21521841928327eab22586a4..53afeb2e6e05c8ab4448ec4f746c3bd39775db82 100644 (file)
@@ -52,6 +52,7 @@ public:
        ex evalf(int level=0) const;
        ex subs(const lst & ls, const lst & lr) const;
        ex eval_indexed(const basic & i) const;
+       ex add_indexed(const ex & self, const ex & other) const;
        bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const;
 protected:
        unsigned return_type(void) const { return return_types::noncommutative; };