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

Public Types

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

Static Public Member Functions

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

Detailed Description

template<class T1, class T2, class OP>
struct qmcplusplus::OTBinary< AntiSymTensor< T1, 2 >, AntiSymTensor< T2, 2 >, OP >

Definition at line 766 of file TensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 768 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 769 of file TensorOps.h.

770  {
771  return AntiSymTensor<Type_t, 2>(op(lhs[0], rhs[0]));
772  }

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