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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 628 of file TensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 630 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 631 of file TensorOps.h.

632  {
633  return SymTensor<Type_t, 3>(op(lhs, rhs[0]), op(lhs, rhs[1]), op(lhs, rhs[2]), op(lhs, rhs[3]), op(lhs, rhs[4]),
634  op(lhs, rhs[5]));
635  }

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