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

Static Public Member Functions

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

Detailed Description

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

Definition at line 53 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 55 of file TensorOps.h.

55 { op(lhs[0], rhs); }

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