OpenMPCD
Static Public Member Functions | List of all members
OpenMPCD::Implementation_Vector3D::Dot< T, typename > Class Template Reference

Helper class to allow partial template specialization of OpenMPCD::Vector3D::dot. More...

#include <Vector3D_Implementation1.hpp>

Static Public Member Functions

static const OPENMPCD_CUDA_HOST_AND_DEVICEdot (const Vector3D< T > &lhs, const Vector3D< T > &rhs)
 Returns the scalar product two vectors. More...
 

Detailed Description

template<typename T, typename = void>
class OpenMPCD::Implementation_Vector3D::Dot< T, typename >

Helper class to allow partial template specialization of OpenMPCD::Vector3D::dot.

Template Parameters
TThe underlying scalar type.

Definition at line 28 of file Vector3D_Implementation1.hpp.

Member Function Documentation

◆ dot()

template<typename T , typename = void>
static const OPENMPCD_CUDA_HOST_AND_DEVICE T OpenMPCD::Implementation_Vector3D::Dot< T, typename >::dot ( const Vector3D< T > &  lhs,
const Vector3D< T > &  rhs 
)
static

Returns the scalar product two vectors.

The scalar product is defined such that the left-hand-side's components are complex-conjugated prior to multiplication with the right-hand-side's components.

Parameters
[in]lhsThe left-hand-side.
[in]rhsThe right-hand-side.

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