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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 802 of file TensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 804 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 805 of file TensorOps.h.

806  {
807  return AntiSymTensor<Type_t, 3>(op(lhs[0], rhs[0]), op(lhs[1], rhs[1]), op(lhs[2], rhs[2]));
808  }

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