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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 535 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Return_t

using Return_t = TinyMatrix<Type_t, 4, 4>

Definition at line 538 of file TinyMatrixOps.h.

◆ Type_t

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

Definition at line 537 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 539 of file TinyMatrixOps.h.

540  {
541  return Return_t(op(lhs, rhs[0]), op(lhs, rhs[1]), op(lhs, rhs[2]), op(lhs, rhs[3]), op(lhs, rhs[4]),
542  op(lhs, rhs[5]), op(lhs, rhs[6]), op(lhs, rhs[7]), op(lhs, rhs[8]), op(lhs, rhs[9]),
543  op(lhs, rhs[10]), op(lhs, rhs[11]), op(lhs, rhs[12]), op(lhs, rhs[13]), op(lhs, rhs[14]),
544  op(lhs, rhs[15]));
545  }

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