QNANO
|
#include <Fermion_Index.h>
Public Member Functions | |
Fermion_Index (size_t sz) | |
Fermion_Index (const std::vector< int > &lst) | |
Fermion_Index (const Fermion_Index &other) | |
Fermion_Index & | operator= (const std::vector< int > &lst) |
Fermion_Index & | operator= (const Fermion_Index &other) |
double | sort_get_sign () |
bool | operator== (const Fermion_Index &other) const |
bool | operator!= (const Fermion_Index &other) const |
bool | operator< (const Fermion_Index &other) const |
bool | operator> (const Fermion_Index &other) const |
void | erase (int i) |
Public Member Functions inherited from List_Class< int > | |
int & | operator[] (size_t i) |
const int & | operator[] (size_t i) const |
size_t | size () const |
virtual void | resize (size_t i) |
virtual void | reserve (size_t i) |
virtual void | push_back (const int &value) |
virtual void | clear () |
List_Class< int > & | operator= (const std::vector< int > &Tvec) |
int | find (intelement) const |
int | find_check (intelement) const |
void | add_if_new (intelement) |
void | add_if_new_check (intelement) |
Additional Inherited Members | |
Public Attributes inherited from List_Class< int > | |
std::vector< int > | list |
Structure to index a single Slater determinant c^ c^ ... c^ | 0 > by the list of integers i,j,...,n
NOTE: the list is assumed to be ordered at all times: i<j<...<n