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

Public Types

using Type_t = typename BinaryReturn< T1, T2, OP >::Type_t
 
using Return_t = TinyMatrix< Type_t, 3, 3 >
 

Static Public Member Functions

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

Detailed Description

template<class T1, class T2, class OP>
struct qmcplusplus::OTBinary< T1, TinyMatrix< T2, 3, 3 >, OP >

Definition at line 492 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Return_t

using Return_t = TinyMatrix<Type_t, 3, 3>

Definition at line 495 of file TinyMatrixOps.h.

◆ Type_t

using Type_t = typename BinaryReturn<T1, T2, OP>::Type_t

Definition at line 494 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 496 of file TinyMatrixOps.h.

497  {
498  return Return_t(op(lhs, rhs[0]), op(lhs, rhs[1]), op(lhs, rhs[2]), op(lhs, rhs[3]), op(lhs, rhs[4]),
499  op(lhs, rhs[5]), op(lhs, rhs[6]), op(lhs, rhs[7]), op(lhs, rhs[8]));
500  }

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