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

Static Public Member Functions

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

Detailed Description

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

Definition at line 191 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 193 of file TensorOps.h.

194  {
195  op(lhs[0], rhs);
196  op(lhs[1], rhs);
197  op(lhs[2], rhs);
198  }

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