QMCPACK
OTDot< TinyMatrix< T1, 3, 3 >, TinyMatrix< T2, 3, 3 > > Struct Template Reference
+ Collaboration diagram for OTDot< TinyMatrix< T1, 3, 3 >, TinyMatrix< T2, 3, 3 > >:

Public Types

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

Static Public Member Functions

static Return_t apply (const TinyMatrix< T1, 3, 3 > &lhs, const TinyMatrix< T2, 3, 3 > &rhs)
 

Detailed Description

template<class T1, class T2>
struct qmcplusplus::OTDot< TinyMatrix< T1, 3, 3 >, TinyMatrix< T2, 3, 3 > >

Definition at line 610 of file TinyMatrixOps.h.

Member Typedef Documentation

◆ Return_t

using Return_t = TinyMatrix<Type_t, 3, 3>

Definition at line 613 of file TinyMatrixOps.h.

◆ Type_t

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

Definition at line 612 of file TinyMatrixOps.h.

Member Function Documentation

◆ apply()

static Return_t apply ( const TinyMatrix< T1, 3, 3 > &  lhs,
const TinyMatrix< T2, 3, 3 > &  rhs 
)
inlinestatic

Definition at line 614 of file TinyMatrixOps.h.

615  {
616  return Return_t(lhs(0, 0) * rhs(0, 0) + lhs(0, 1) * rhs(1, 0) + lhs(0, 2) * rhs(2, 0),
617  lhs(0, 0) * rhs(0, 1) + lhs(0, 1) * rhs(1, 1) + lhs(0, 2) * rhs(2, 1),
618  lhs(0, 0) * rhs(0, 2) + lhs(0, 1) * rhs(1, 2) + lhs(0, 2) * rhs(2, 2),
619  lhs(1, 0) * rhs(0, 0) + lhs(1, 1) * rhs(1, 0) + lhs(1, 2) * rhs(2, 0),
620  lhs(1, 0) * rhs(0, 1) + lhs(1, 1) * rhs(1, 1) + lhs(1, 2) * rhs(2, 1),
621  lhs(1, 0) * rhs(0, 2) + lhs(1, 1) * rhs(1, 2) + lhs(1, 2) * rhs(2, 2),
622  lhs(2, 0) * rhs(0, 0) + lhs(2, 1) * rhs(1, 0) + lhs(2, 2) * rhs(2, 0),
623  lhs(2, 0) * rhs(0, 1) + lhs(2, 1) * rhs(1, 1) + lhs(2, 2) * rhs(2, 1),
624  lhs(2, 0) * rhs(0, 2) + lhs(2, 1) * rhs(1, 2) + lhs(2, 2) * rhs(2, 2));
625  }

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