QMCPACK
OTBinary< T1, AntiSymTensor< T2, 3 >, OP > Struct Template Reference
+ Collaboration diagram for OTBinary< T1, 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 (T1 lhs, const AntiSymTensor< T2, 3 > &rhs, OP op)
 

Detailed Description

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

Definition at line 822 of file TensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 824 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 825 of file TensorOps.h.

826  {
827  return AntiSymTensor<Type_t, 3>(op(lhs, rhs[0]), op(lhs, rhs[1]), op(lhs, rhs[2]));
828  }

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