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

Static Public Member Functions

static void apply (AntiSymTensor< T1, D > &lhs, T2 rhs, OP op)
 

Detailed Description

template<class T1, class T2, class OP, unsigned D>
struct qmcplusplus::OTAssign< AntiSymTensor< T1, D >, T2, OP >

Definition at line 252 of file TensorOps.h.

Member Function Documentation

◆ apply()

static void apply ( AntiSymTensor< T1, D > &  lhs,
T2  rhs,
OP  op 
)
inlinestatic

Definition at line 254 of file TensorOps.h.

255  {
256  for (unsigned d = 0; d < D * (D - 1) / 2; ++d)
257  op(lhs[d], rhs);
258  }

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