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

Public Types

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 554 of file TensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 556 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 557 of file TensorOps.h.

558  {
559  return SymTensor<Type_t, 1>(op(lhs, rhs[0]));
560  }

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