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

Detailed Description

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

Definition at line 507 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Return_t

using Return_t = TinyMatrix<Type_t, 4, 4>

Definition at line 510 of file TinyMatrixOps.h.

◆ Type_t

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

Definition at line 509 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 511 of file TinyMatrixOps.h.

512  {
513  return Return_t(op(lhs[0], rhs[0]), op(lhs[1], rhs[1]), op(lhs[2], rhs[2]), op(lhs[3], rhs[3]), op(lhs[4], rhs[4]),
514  op(lhs[5], rhs[5]), op(lhs[6], rhs[6]), op(lhs[7], rhs[7]), op(lhs[8], rhs[8]), op(lhs[9], rhs[9]),
515  op(lhs[10], rhs[10]), op(lhs[11], rhs[11]), op(lhs[12], rhs[12]), op(lhs[13], rhs[13]),
516  op(lhs[14], rhs[14]), op(lhs[15], rhs[15]));
517  }

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