QNANO
Public Member Functions | List of all members
Fermion_Index Struct Reference

#include <Fermion_Index.h>

Inheritance diagram for Fermion_Index:
Inheritance graph
[legend]
Collaboration diagram for Fermion_Index:
Collaboration graph
[legend]

Public Member Functions

 Fermion_Index (size_t sz)
 
 Fermion_Index (const std::vector< int > &lst)
 
 Fermion_Index (const Fermion_Index &other)
 
Fermion_Indexoperator= (const std::vector< int > &lst)
 
Fermion_Indexoperator= (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
 

Detailed Description

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


The documentation for this struct was generated from the following files: