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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 507 of file TinyVectorTensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 509 of file TinyVectorTensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 510 of file TinyVectorTensorOps.h.

511  {
512  return TinyVector<Type_t, 2>(lhs(0, 0) * rhs[0] + lhs(0, 1) * rhs[1], lhs(1, 0) * rhs[0] + lhs(1, 1) * rhs[1]);
513  }

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