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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 411 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 413 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 414 of file TinyMatrixOps.h.

415  {
416  return TinyMatrix<Type_t, 1, 3>(op(lhs[0], rhs), op(lhs[1], rhs), op(lhs[2], rhs));
417  }

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