21#ifndef VOTCA_XTP_BSE_OPERATOR_H
22#define VOTCA_XTP_BSE_OPERATOR_H
44template <Index cqp, Index cx, Index cd, Index cd2>
49 const Eigen::MatrixXd& Hqp)
66 Eigen::MatrixXd
matmul(
const Eigen::MatrixXd& input)
const;
80 return (cd != 0) ? 1 : ((cd2 != 0) ? 2 : 0);
std::shared_ptr< SymmetricTiles > direct_cache_
Eigen::MatrixXd ApplyDirectRows(const Eigen::MatrixXd &input) const
BSE_OPERATOR(const Eigen::VectorXd &Hd_operator, const TCMatrix_gwbse &Mmn, const Eigen::MatrixXd &Hqp)
const Eigen::VectorXd & epsilon_0_inv_
void set_direct_cache(std::shared_ptr< SymmetricTiles > cache)
const Eigen::MatrixXd & Hqp_
void BuildDirectMatrix() const
static constexpr Index DirectKind()
Tag of the direct term an operator caches: 1 for Hd, 2 for Hd2.
void configure(BSEOperator_Options opt)
const TCMatrix_gwbse & Mmn_
Eigen::MatrixXd matmul(const Eigen::MatrixXd &input) const
Eigen::MatrixXd ApplyDirectBlocks(const Eigen::MatrixXd &input) const
void use_row_kernel(bool rows)
Eigen::VectorXd diagonal() const
bool direct_term_cached() const
BSE_OPERATOR< 1, 0, 0, 0 > HqpOperator
BSE_OPERATOR< 0, 0, 1, 0 > HdOperator
BSE_OPERATOR< 0, 0, 0, 1 > Hd2Operator
BSE_OPERATOR< 1, 2, 1, 0 > SingletOperator_TDA
BSE_OPERATOR< 1, 0, 1, 0 > TripletOperator_TDA
BSE_OPERATOR< 0, 2, 0, 1 > SingletOperator_BTDA_B
BSE_OPERATOR< 0, 1, 0, 0 > HxOperator
Provides a means for comparing floating point numbers.