QMCPACK
OuterProduct< TinyVector< T1, 3 >, TinyVector< T2, 3 > > Struct Template Reference
+ Collaboration diagram for OuterProduct< TinyVector< T1, 3 >, TinyVector< T2, 3 > >:

Public Types

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

Static Public Member Functions

static Return_t apply (const TinyVector< T1, 3 > &a, const TinyVector< T2, 3 > &b)
 

Detailed Description

template<class T1, class T2>
struct qmcplusplus::OuterProduct< TinyVector< T1, 3 >, TinyVector< T2, 3 > >

Definition at line 635 of file TinyVectorTensorOps.h.

Member Typedef Documentation

◆ Return_t

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

Definition at line 638 of file TinyVectorTensorOps.h.

◆ Type_t

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

Definition at line 637 of file TinyVectorTensorOps.h.

Member Function Documentation

◆ apply()

static Return_t apply ( const TinyVector< T1, 3 > &  a,
const TinyVector< T2, 3 > &  b 
)
inlinestatic

Definition at line 639 of file TinyVectorTensorOps.h.

640  {
641  return Return_t(a[0] * b[0], a[0] * b[1], a[0] * b[2], a[1] * b[0], a[1] * b[1], a[1] * b[2], a[2] * b[0],
642  a[2] * b[1], a[2] * b[2]);
643  }
Tensor< typename BinaryReturn< T1, T2, OpMultiply >::Type_t, 3 > Return_t

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