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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 321 of file TinyVectorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 323 of file TinyVectorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 324 of file TinyVectorOps.h.

324 { return lhs[0] * rhs[0]; }

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