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

Static Public Member Functions

static void apply (Tensor< T1, 3 > &lhs, T2 rhs, OP op)
 

Detailed Description

template<class T1, class T2, class OP>
struct qmcplusplus::OTAssign< Tensor< T1, 3 >, T2, OP >

Definition at line 112 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 114 of file TensorOps.h.

115  {
116  op(lhs[0], rhs);
117  op(lhs[1], rhs);
118  op(lhs[2], rhs);
119  op(lhs[3], rhs);
120  op(lhs[4], rhs);
121  op(lhs[5], rhs);
122  op(lhs[6], rhs);
123  op(lhs[7], rhs);
124  op(lhs[8], rhs);
125  }

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