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

Public Types

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

Static Public Member Functions

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

Detailed Description

template<class T1, class T2>
struct qmcplusplus::OTDot< SymTensor< T1, 1 >, Tensor< T2, 1 > >

Definition at line 312 of file TinyVectorTensorOps.h.

Member Typedef Documentation

◆ Type_t

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

Definition at line 314 of file TinyVectorTensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 315 of file TinyVectorTensorOps.h.

316  {
317  return Tensor<Type_t, 1>(lhs[0] * rhs[0]);
318  }

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