Template Function t8_diff(const TVecX&, const TVecY&, TVecDiff&)
Defined in File t8_vec.hxx
Function Documentation
-
template<T8VecType<3> TVecX, T8VecType<3> TVecY, T8VecType<3> TVecDiff>
constexpr void t8_diff(const TVecX &vec_x, const TVecY &vec_y, TVecDiff &diff) Compute the difference of two vectors.
- Parameters:
vec_x – [in] An N-dimensional vector.
vec_y – [in] An N-dimensional vector.
diff – [out] On output, the difference of vec_x and vec_y.