* 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;
* @return simplified expression */
ex simplify_indexed(const ex & e, const scalar_products & sp);
+/** Symmetrize expression over its free indices. */
+ex symmetrize(const ex & e);
+
+/** Antisymmetrize expression over its free indices. */
+ex antisymmetrize(const ex & e);
} // namespace GiNaC