Struct HS_interaction_operator¶
Defined in File HS_interaction_operator.hpp
Inheritance Relationships¶
Base Type¶
public HS_Hermitian_operator(Struct HS_Hermitian_operator)
Struct Documentation¶
-
struct HS_interaction_operator : public HS_Hermitian_operator¶
Represents an interaction operator (density-density) in a sector of the Hilbert space.
Public Functions
constructor
-
virtual void multiply_add(const vector<double> &x, vector<double> &y, double z)¶
applies the operator on the vector x and adds the results (times z) to the vector y
-
virtual void CSR_map(map<index_pair, double> &E, vector<double> &D, double z)¶
fills a map, in order to construct the CSR form of the Hamiltonian
-
virtual void CSR_map(map<index_pair, Complex> &E, vector<double> &D, double z)¶
-
virtual void diag(vector<double> &Y, double z)¶
-
virtual void Triplet_COO_map(vector<matrix_element<double>> &E, double z, bool sym_store)¶
populates a vector of matrix_element to build the Hamiltonian
-
virtual void Triplet_COO_map(vector<matrix_element<Complex>> &E, double z, bool sym_store)¶
populates a vector of matrix_element to build the Hamiltonian