#include <SUP.h>
Definition at line 36 of file SUP.h.
SUP::SUP |
( |
int |
L, |
|
|
int |
N |
|
) |
| |
SUP::SUP |
( |
const SUP & |
orig | ) |
|
virtual doci2DM::SUP::~SUP |
( |
| ) |
|
|
virtualdefault |
void SUP::daxpy |
( |
double |
alpha, |
|
|
const SUP & |
y |
|
) |
| |
double SUP::ddot |
( |
const SUP & |
x | ) |
const |
void SUP::dscal |
( |
double |
alpha | ) |
|
void SUP::fill |
( |
const TPM & |
tpm | ) |
|
Fill the SUP object with the tpm object
- Parameters
-
Definition at line 231 of file SUP.cpp.
PHM const & SUP::getG |
( |
| ) |
const |
TPM const & SUP::getI |
( |
| ) |
const |
TPM const & SUP::getQ |
( |
| ) |
const |
void SUP::init_S |
( |
const Lineq & |
lineq | ) |
|
Initialization of the SUP matrix S, is just u^0: see primal_dual.pdf for more information
Definition at line 352 of file SUP.cpp.
void SUP::L_map |
( |
const SUP & |
A, |
|
|
const SUP & |
B |
|
) |
| |
SUP & SUP::operator*= |
( |
double |
alpha | ) |
|
SUP & SUP::operator+= |
( |
const SUP & |
orig | ) |
|
SUP & SUP::operator-= |
( |
const SUP & |
orig | ) |
|
SUP & SUP::operator/= |
( |
double |
alpha | ) |
|
SUP & SUP::operator= |
( |
const SUP & |
orig | ) |
|
SUP & SUP::operator= |
( |
SUP && |
orig | ) |
|
SUP & SUP::operator= |
( |
double |
a | ) |
|
void SUP::ReadFromFile |
( |
std::string |
filename | ) |
|
Read a SUP object from a HDF5 file. The SUP needs to be already created with the correct dimensions. Will fill in the object on which it is called.
- Parameters
-
Definition at line 412 of file SUP.cpp.
void SUP::sep_pm |
( |
SUP & |
pos, |
|
|
SUP & |
neg |
|
) |
| |
void SUP::sqrt |
( |
int |
option | ) |
|
void SUP::WriteToFile |
( |
std::string |
filename | ) |
const |
Write a SUP object to a HDF5 file
- Parameters
-
filename | the name of the file to write to |
Definition at line 366 of file SUP.cpp.
std::ostream& operator<< |
( |
std::ostream & |
output, |
|
|
doci2DM::SUP & |
sup |
|
) |
| |
|
friend |
std::unique_ptr<PHM> doci2DM::SUP::G |
|
private |
the G matrix
Definition at line 118 of file SUP.h.
std::unique_ptr<TPM> doci2DM::SUP::I |
|
private |
the RDM matrix
Definition at line 112 of file SUP.h.
the size of the sp DOCI space (there are 2*L sp states)
Definition at line 109 of file SUP.h.
number of particles
Definition at line 106 of file SUP.h.
std::unique_ptr<TPM> doci2DM::SUP::Q |
|
private |
the Q matrix
Definition at line 115 of file SUP.h.
The documentation for this class was generated from the following files: