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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 334 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 336 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 337 of file TinyMatrixOps.h.

338  {
339  return TinyMatrix<Type_t, 1, 1>(op(lhs[0], rhs[0]));
340  }

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