Template Function sequant::get_unique_indices(const Product&)

Function Documentation

template<typename Container = std::vector<Index>>
IndexGroups<Container> sequant::get_unique_indices(const Product &product)

Obtains the set of unique (non-repeated) indices used in the given product.