Function gemv (o2scl_cblas)¶
-
template<class mat_t, class vec_t, class vec2_t, class fp_t = double>
void o2scl_cblas::gemv(const enum o2cblas_order order, const enum o2cblas_transpose TransA, const size_t M, const size_t N, const fp_t alpha, const mat_t &A, const vec_t &X, const fp_t beta, vec2_t &Y)¶ Compute \( Y=\alpha \left[\mathrm{op}(A)\right] X + \beta Y \).
If
M
orN
is zero, or ifalpha
is zero andbeta
is one, this function performs no calculations and returns without calling the error handler.