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

Static Public Member Functions

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

Detailed Description

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

Definition at line 65 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 67 of file TensorOps.h.

68  {
69  op(lhs[0], rhs[0]);
70  op(lhs[1], rhs[1]);
71  op(lhs[2], rhs[2]);
72  op(lhs[3], rhs[3]);
73  }

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