Template Function t8_axpy(const TVecX&, TVecY&, const double)
Defined in File t8_vec.hxx
Function Documentation
-
template<T8VecType TVecX, T8VecType TVecY>
constexpr void t8_axpy(const TVecX &vec_x, TVecY &vec_y, const double alpha) Y = Y + alpha * X
- Parameters:
vec_x – [in] An N-dimensional vector.
vec_y – [inout] On input, An N-dimensional vector. On output set to vec_y + alpha * vec_x
alpha – [in] A factor.