#include <basis_sector_iterators.h>
template<class SymmGroup>
class basis_sector_iterator_< SymmGroup >
Definition at line 38 of file basis_sector_iterators.h.
template<class SymmGroup>
template<class SymmGroup>
Definition at line 60 of file basis_sector_iterators.h.
67 getter_fn = &boost::tuples::get<0, charge, boost::tuples::cons<size_t, boost::tuples::null_type> >;
69 for (
size_t i=0; i<phys.
size(); ++i)
70 for (
size_t j=0; j<phys[i].second; ++j)
71 alllocal.push_back( local_state(phys[i].first, j) );
73 for (
size_t i=0; i<L; ++i) {
74 state[i] = alllocal[it[i]];
77 if (total_charge() != initc)
template<class SymmGroup>
template<class SymmGroup>
template<class SymmGroup>
Definition at line 91 of file basis_sector_iterators.h.
93 if (valid != rhs.valid)
98 return (L == rhs.L) && (initc == rhs.initc) && (alllocal == rhs.alllocal) &&
std::equal(state.begin(), state.end(), rhs.state.begin());
std::pair< bool, typename Matrix::value_type > equal(block_matrix< Matrix, SymmGroup > const &reference, block_matrix< Matrix, SymmGroup > const &sample)
The documentation for this class was generated from the following file: