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

Static Public Member Functions

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

Detailed Description

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

Definition at line 164 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 166 of file TinyMatrixOps.h.

167  {
168  op(lhs[0], rhs[0]);
169  op(lhs[1], rhs[1]);
170  op(lhs[2], rhs[2]);
171  op(lhs[3], rhs[3]);
172  }

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