OpenMPCD
|
Helper class to allow partial template specialization of OpenMPCD::Vector2D::dot
.
More...
#include <Vector2D_Implementation1.hpp>
Static Public Member Functions | |
static const OPENMPCD_CUDA_HOST_AND_DEVICE T | dot (const Vector2D< T > &lhs, const Vector2D< T > &rhs) |
Returns the scalar product two vectors. More... | |
Helper class to allow partial template specialization of OpenMPCD::Vector2D::dot
.
T | The underlying scalar type. |
Definition at line 28 of file Vector2D_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. |