TBTK
|
Need a break? Support the development by playing Polarity Puzzles |
HoppingAmplitudeList corresponding to a backward difference. More...
#include <BackwardDifference.h>
Public Member Functions | |
BackwardDifference (unsigned int subindex, const Index &index, double dx=1.) | |
Public Member Functions inherited from TBTK::HoppingAmplitudeList | |
HoppingAmplitudeList () | |
HoppingAmplitudeList (const std::string &serializeation, Serializable::Mode mode) | |
void | add (const HoppingAmplitude &hoppingAmplitude) |
unsigned int | getSize () const |
const HoppingAmplitude & | operator[] (unsigned int n) const |
std::string | serialize (Serializable::Mode mode) const |
unsigned int | getSizeInBytes () const |
Public Member Functions inherited from TBTK::Serializable | |
template<> | |
std::string | serialize (const bool &data, Mode mode) |
template<> | |
std::string | serialize (const double &data, Mode mode) |
template<> | |
std::string | serialize (const std::complex< double > &data, Mode mode) |
template<> | |
std::string | serialize (const int &data, Mode mode) |
template<> | |
std::string | serialize (const unsigned int &data, Mode mode) |
template<> | |
std::string | serialize (const SpinMatrix &data, Mode mode) |
template<> | |
std::string | serialize (const Statistics &data, Mode mode) |
template<> | |
std::string | serialize (const std::vector< std::complex< double >> &data, Mode mode) |
template<> | |
int | deserialize (const std::string &serialization, Mode mode) |
Additional Inherited Members | |
Public Types inherited from TBTK::Serializable | |
enum | Mode { Debug, Binary, XML, JSON } |
Static Public Member Functions inherited from TBTK::Serializable | |
static bool | hasID (const std::string &serialization, Mode mode) |
static std::string | getID (const std::string &serialization, Mode mode) |
static std::string | extractComponent (const std::string &serialization, const std::string &containerID, const std::string &componentID, const std::string &componentName, Mode mode) |
Static Protected Member Functions inherited from TBTK::Serializable | |
static bool | validate (const std::string &serialization, const std::string &id, Mode mode) |
static std::string | getContent (const std::string &serialization, Mode mode) |
static std::vector< std::string > | split (const std::string &content, Mode mode) |
template<typename DataType > | |
static std::enable_if<!std::is_pointer< DataType >::value, std::string >::type | serialize (const DataType &data, Mode mode) |
template<typename DataType > | |
static std::enable_if< std::is_pointer< DataType >::value, std::string >::type | serialize (const DataType &data, Mode mode) |
template<typename DataType > | |
static DataType | deserialize (const std::string &serialization, Mode mode) |
static std::string | extract (const std::string &serialization, Mode mode, std::string component) |
HoppingAmplitudeList corresponding to a backward difference.
|
inline |
Constructs a BackwardDifference.