MPQC  3.0.0-alpha
Public Member Functions
sc::mbptr12::Direct_Contraction Class Reference

Direct_Contraction is a straight scalar (dot) product of 2 rectangular blocks, scaled by scale. More...

#include <chemistry/qc/mbptr12/twoparticlecontraction.h>

Inheritance diagram for sc::mbptr12::Direct_Contraction:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated at Sat Jul 7 2012 11:53:01 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.0.