]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.h
- Clifford traces of many gammas are a lot faster now (especially with gamma5)
[ginac.git] / ginac / indexed.h
index 26bf9a5eec1c2563410ea9195b38b9ef1bb8beff..9f6af5fd1dd1001846da0ae5c3c322b584f6802e 100644 (file)
@@ -184,6 +184,10 @@ public:
         *  another indexed object. */
        exvector get_dummy_indices(const indexed & other) const;
 
+       /** Check whether the object has an index that forms a dummy index pair
+        *  with a given index. */
+       bool has_dummy_index_for(const ex & i) const;
+
 protected:
        void printindices(const print_context & c, unsigned level) const;
        void assert_all_indices_of_type_idx(void) const;