ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
index_detail Namespace Reference

Classes

struct  gt
 
class  is_first_equal
 

Functions

template<class SymmGroup >
bool lt (std::pair< typename SymmGroup::charge, std::size_t > const &a, std::pair< typename SymmGroup::charge, std::size_t > const &b)
 
template<class SymmGroup >
SymmGroup::charge get_first (std::pair< typename SymmGroup::charge, std::size_t > const &x)
 
template<class SymmGroup >
std::size_t get_second (std::pair< typename SymmGroup::charge, std::size_t > const &x)
 

Function Documentation

template<class SymmGroup >
SymmGroup::charge index_detail::get_first ( std::pair< typename SymmGroup::charge, std::size_t > const &  x)

Definition at line 68 of file indexing_sorted.hpp.

69  {
70  return x.first;
71  }
template<class SymmGroup >
std::size_t index_detail::get_second ( std::pair< typename SymmGroup::charge, std::size_t > const &  x)

Definition at line 74 of file indexing_sorted.hpp.

75  {
76  return x.second;
77  }
template<class SymmGroup >
bool index_detail::lt ( std::pair< typename SymmGroup::charge, std::size_t > const &  a,
std::pair< typename SymmGroup::charge, std::size_t > const &  b 
)

Definition at line 53 of file indexing_sorted.hpp.

55  {
56  return a.first < b.first;
57  }