TBTK
TBTK::FockState< BIT_REGISTER > Class Template Reference

Public Member Functions

 FockState (unsigned int exponentialDimension)
 
 FockState (const FockState &fockState)
 
 ~FockState ()
 
bool isNull () const
 
const BIT_REGISTER & getBitRegister () const
 
BIT_REGISTER & getBitRegister ()
 
int getPrefactor () const
 
void print () const
 

Friends

class FockSpace< BIT_REGISTER >
 
class LadderOperator< BIT_REGISTER >
 

Constructor & Destructor Documentation

template<typename BIT_REGISTER >
TBTK::FockState< BIT_REGISTER >::FockState ( unsigned int  exponentialDimension)

Constructor.

template<typename BIT_REGISTER >
TBTK::FockState< BIT_REGISTER >::FockState ( const FockState< BIT_REGISTER > &  fockState)

Copy constructor.

template<typename BIT_REGISTER >
TBTK::FockState< BIT_REGISTER >::~FockState ( )

Destructor.

Member Function Documentation

template<typename BIT_REGISTER >
const BIT_REGISTER & TBTK::FockState< BIT_REGISTER >::getBitRegister ( ) const

Returns the BIT_REGISTER.

template<typename BIT_REGISTER >
BIT_REGISTER & TBTK::FockState< BIT_REGISTER >::getBitRegister ( )

Returns the BIT_REGISTER.

template<typename BIT_REGISTER >
int TBTK::FockState< BIT_REGISTER >::getPrefactor ( ) const

Get prefactor.

template<typename BIT_REGISTER >
bool TBTK::FockState< BIT_REGISTER >::isNull ( ) const

Returns true if the vector is the state is the null vector.

template<typename BIT_REGISTER >
void TBTK::FockState< BIT_REGISTER >::print ( ) const

Get number of particles. Print.

Friends And Related Function Documentation

template<typename BIT_REGISTER>
friend class FockSpace< BIT_REGISTER >
friend

Allow the FockSpace to immediatly access the internal storage.

template<typename BIT_REGISTER>
friend class LadderOperator< BIT_REGISTER >
friend

Allow operators to operate immediately on the internal storage.


The documentation for this class was generated from the following file: