MADNESS 0.10.1
Public Member Functions | Private Attributes | List of all members
madness::OuterProjector< projT, projQ > Class Template Reference

an outer product of two projectors More...

#include <projector.h>

Inheritance diagram for madness::OuterProjector< projT, projQ >:
Inheritance graph
[legend]
Collaboration diagram for madness::OuterProjector< projT, projQ >:
Collaboration graph
[legend]

Public Member Functions

 OuterProjector ()=default
 
 OuterProjector (const projT &p0, const projQ &p1)
 
template<typename resultT >
resultT operator() (const resultT &argument) const
 
std::string type () const override
 
- Public Member Functions inherited from madness::ProjectorBase
virtual ~ProjectorBase ()
 
virtual int get_particle () const
 
virtual void set_particle (const int p)
 

Private Attributes

projT projector0
 
projQ projector1
 

Additional Inherited Members

- Protected Attributes inherited from madness::ProjectorBase
int particle =-1
 a projector might work only on a subset of dimensions, e.g. P(1) | \psi(1,2) >
 

Detailed Description

template<typename projT, typename projQ>
class madness::OuterProjector< projT, projQ >

an outer product of two projectors

Constructor & Destructor Documentation

◆ OuterProjector() [1/2]

template<typename projT , typename projQ >
madness::OuterProjector< projT, projQ >::OuterProjector ( )
default

◆ OuterProjector() [2/2]

template<typename projT , typename projQ >
madness::OuterProjector< projT, projQ >::OuterProjector ( const projT &  p0,
const projQ &  p1 
)
inline

Member Function Documentation

◆ operator()()

template<typename projT , typename projQ >
template<typename resultT >
resultT madness::OuterProjector< projT, projQ >::operator() ( const resultT &  argument) const
inline

◆ type()

template<typename projT , typename projQ >
std::string madness::OuterProjector< projT, projQ >::type ( ) const
inlineoverridevirtual

Member Data Documentation

◆ projector0

template<typename projT , typename projQ >
projT madness::OuterProjector< projT, projQ >::projector0
private

◆ projector1

template<typename projT , typename projQ >
projQ madness::OuterProjector< projT, projQ >::projector1
private

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