MPQC
3.0.0-alpha
|
makes a diagonal 2-index preconditioner: pc_x^y = -1/ ( <x|O1|x> - <y|O2|y> ) More...
#include <chemistry/qc/mbptr12/sr_r12intermediates_VXB_diag.h>
Public Types | |
typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > | EigenMatrixX |
Public Member Functions | |
diag_precond2 (const EigenMatrixX &O1_mat, const EigenMatrixX &O2_mat) | |
template<typename Index > | |
T | operator() (const Index &i) |
makes a diagonal 2-index preconditioner: pc_x^y = -1/ ( <x|O1|x> - <y|O2|y> )