template<class T1, class T2>
struct qmcplusplus::OTCDot< T1, T2, 3 >
Definition at line 78 of file ParticleAttribOps.h.
◆ Type_t
◆ apply()
Definition at line 81 of file ParticleAttribOps.h.
83 return lhs[0].real() * rhs[0].real() - lhs[0].imag() * rhs[0].imag() + lhs[1].real() * rhs[1].real() -
84 lhs[1].imag() * rhs[1].imag() + lhs[2].real() * rhs[2].real() - lhs[2].imag() * rhs[2].imag();
◆ cplx_apply()
static std::complex<Type_t> cplx_apply |
( |
const TinyVector< std::complex< T1 >, 3 > & |
lhs, |
|
|
const TinyVector< std::complex< T2 >, 3 > & |
rhs |
|
) |
| |
|
inlinestatic |
Definition at line 87 of file ParticleAttribOps.h.
90 return lhs[0] * rhs[0] + lhs[1] * rhs[1] + lhs[2] * rhs[2];
The documentation for this struct was generated from the following file: