Template Function t8_axpyz(const TVecX&, const TVecY&, TVecZ&, const double)
Defined in File t8_vec.hxx
Function Documentation
-
template<T8VecType TVecX, T8VecType TVecY, T8VecType TVecZ>
constexpr void t8_axpyz(const TVecX &vec_x, const TVecY &vec_y, TVecZ &vec_z, const double alpha) Z = Y + alpha * X.
- Parameters:
vec_x – [in] An N-dimensional vector.
vec_y – [in] An N-dimensional vector.
vec_z – [out] On output set to vec_y + alpha * vec_x
alpha – [in] A factor for the multiplication of vec_x.