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

Static Public Member Functions

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

Detailed Description

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

Definition at line 95 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 97 of file TensorOps.h.

98  {
99  op(lhs[0], rhs[0]);
100  op(lhs[1], rhs[1]);
101  op(lhs[2], rhs[2]);
102  op(lhs[3], rhs[3]);
103  op(lhs[4], rhs[4]);
104  op(lhs[5], rhs[5]);
105  op(lhs[6], rhs[6]);
106  op(lhs[7], rhs[7]);
107  op(lhs[8], rhs[8]);
108  }

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