QMCPACK
OTAssign< TinyVector< std::complex< T1 >, 3 >, TinyVector< std::complex< T2 >, 3 >, OP > Struct Template Reference
+ Collaboration diagram for OTAssign< TinyVector< std::complex< T1 >, 3 >, TinyVector< std::complex< T2 >, 3 >, OP >:

Static Public Member Functions

static void apply (TinyVector< std::complex< T1 >, 3 > &lhs, const TinyVector< std::complex< T2 >, 3 > &rhs, OP op)
 

Detailed Description

template<class T1, class T2, class OP>
struct qmcplusplus::OTAssign< TinyVector< std::complex< T1 >, 3 >, TinyVector< std::complex< T2 >, 3 >, OP >

Definition at line 128 of file TinyVectorOps.h.

Member Function Documentation

◆ apply()

static void apply ( TinyVector< std::complex< T1 >, 3 > &  lhs,
const TinyVector< std::complex< T2 >, 3 > &  rhs,
OP  op 
)
inlinestatic

Definition at line 130 of file TinyVectorOps.h.

131  {
132  op(lhs[0], rhs[0]);
133  op(lhs[1], rhs[1]);
134  op(lhs[2], rhs[2]);
135  }

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