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

Detailed Description

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

Definition at line 468 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Return_t

using Return_t = TinyMatrix<Type_t, 3, 3>

Definition at line 471 of file TinyMatrixOps.h.

◆ Type_t

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

Definition at line 470 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 472 of file TinyMatrixOps.h.

473  {
474  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]),
475  op(lhs[5], rhs[5]), op(lhs[6], rhs[6]), op(lhs[7], rhs[7]), op(lhs[8], rhs[8]));
476  }

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