QMCPACK
OTBinary< TinyMatrix< T1, 4, 4 >, T2, OP > Struct Template Reference
+ Collaboration diagram for OTBinary< TinyMatrix< T1, 4, 4 >, T2, 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 (const TinyMatrix< T1, 4, 4 > &lhs, T2 rhs, OP op)
 

Detailed Description

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

Definition at line 521 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Return_t

using Return_t = TinyMatrix<Type_t, 4, 4>

Definition at line 524 of file TinyMatrixOps.h.

◆ Type_t

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

Definition at line 523 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 525 of file TinyMatrixOps.h.

526  {
527  return Return_t(op(lhs[0], rhs), op(lhs[1], rhs), op(lhs[2], rhs), op(lhs[3], rhs), op(lhs[4], rhs),
528  op(lhs[5], rhs), op(lhs[6], rhs), op(lhs[7], rhs), op(lhs[8], rhs), op(lhs[9], rhs),
529  op(lhs[10], rhs), op(lhs[11], rhs), op(lhs[12], rhs), op(lhs[13], rhs), op(lhs[14], rhs),
530  op(lhs[15], rhs));
531  }

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