OpenMPCD
|
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_DEVICE T | dot (const Vector3D< T > &lhs, const Vector3D< T > &rhs) |
Returns the scalar product two vectors. More... | |
Helper class to allow partial template specialization of OpenMPCD::Vector3D::dot
.
T | The underlying scalar type. |
Definition at line 28 of file Vector3D_Implementation1.hpp.
|
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.
[in] | lhs | The left-hand-side. |
[in] | rhs | The right-hand-side. |