24#ifndef MORPHEUS_DOT_HPP
25#define MORPHEUS_DOT_HPP
27#include <impl/Morpheus_Dot_Impl.hpp>
50template <
typename ExecSpace,
typename Vector1,
typename Vector2>
51inline typename Vector2::value_type
dot(
typename Vector1::size_type n,
52 const Vector1& x,
const Vector2& y) {
53 static_assert(is_dense_vector_format_container_v<Vector1>,
54 "x must be a DenseVector container");
55 static_assert(is_dense_vector_format_container_v<Vector2>,
56 "y must be a DenseVector container");
57 return Impl::dot<ExecSpace>(n, x, y);
Vector2::value_type dot(typename Vector1::size_type n, const Vector1 &x, const Vector2 &y)
Computes the dot product of two vectors.
Definition: Morpheus_Dot.hpp:51
Generic Morpheus interfaces.
Definition: dummy.cpp:24