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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 698 of file TensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 700 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 701 of file TensorOps.h.

702  {
703  AntiSymTensor<Type_t, D> ret;
704  for (unsigned d = 0; d < D * (D - 1) / 2; ++d)
705  ret[d] = op(lhs[d], rhs);
706  return ret;
707  }

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