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

Static Public Member Functions

static void apply (TinyVector< T1, 2 > &lhs, const TinyVector< T2, 2 > &rhs, OP op)
 

Detailed Description

template<class T1, class T2, class OP>
struct qmcplusplus::OTAssign< TinyVector< T1, 2 >, TinyVector< T2, 2 >, OP >

Definition at line 82 of file TinyVectorOps.h.

Member Function Documentation

◆ apply()

static void apply ( TinyVector< T1, 2 > &  lhs,
const TinyVector< T2, 2 > &  rhs,
OP  op 
)
inlinestatic

Definition at line 84 of file TinyVectorOps.h.

85  {
86  op(lhs[0], rhs[0]);
87  op(lhs[1], rhs[1]);
88  }

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