|
occ
|
A batch's density matrix: D_s for spin s is rows [s n, (s + 1) n) of D. More...
#include <dft_kernels.h>
Public Member Functions | |
| void | times (const Mat &X, int s, Mat &out) const |
| out = X D_s | |
Public Attributes | |
| const Mat * | D {nullptr} |
| const Mat * | F {nullptr} |
| Eigen::Index | nbf {0} |
A batch's density matrix: D_s for spin s is rows [s n, (s + 1) n) of D.
When F is set, D_s = F_s F_s^T as well (F_s the rows of F likewise, a few columns: the occupied orbitals), and products X D_s are formed as (X F_s) F_s^T, which costs 2 k / n of the direct product.
| const Mat* occ::dft::kernels::BatchDensity::D {nullptr} |
| const Mat* occ::dft::kernels::BatchDensity::F {nullptr} |
| Eigen::Index occ::dft::kernels::BatchDensity::nbf {0} |