|
MPQC
3.0.0-alpha
|
Direct_Contraction is a straight scalar (dot) product of 2 rectangular blocks, scaled by scale. More...
#include <chemistry/qc/mbptr12/twoparticlecontraction.h>

Public Member Functions | |
| Direct_Contraction (unsigned int nrow, unsigned int ncol, double scale) | |
| Direct_Contraction (StateIn &si) | |
| void | save_data_state (StateOut &so) |
| Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. | |
| double | contract (const double *A, const double *B) const |
| Computes contraction of blocks A and B. | |
Direct_Contraction is a straight scalar (dot) product of 2 rectangular blocks, scaled by scale.
Does the same as TwoParticleContraction but also scales the result.
| void sc::mbptr12::Direct_Contraction::save_data_state | ( | StateOut & | ) | [virtual] |
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.
This must be implemented by the derived class if the class has data.
Reimplemented from sc::mbptr12::TwoParticleContraction.