Template Function t8_dot(const TVecX&, const TVecY&)

Function Documentation

template<T8VecType TVecX, T8VecType TVecY>
constexpr double t8_dot(const TVecX &vec_x, const TVecY &vec_y)

Dot product of X and Y.

Parameters:
  • vec_x[in] An N-dimensional vector.

  • vec_y[in] An N-dimensional vector.

Returns:

The dot product vec_x * vec_y