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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 214 of file TinyVectorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 216 of file TinyVectorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 217 of file TinyVectorOps.h.

218  {
219  return TinyVector<Type_t, 1>(op(lhs[0], rhs));
220  }

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