Gemv

General matrix-vector multiply: \(y := \alpha \mbox{op}(A) x + \beta y\), where \(\mbox{op}(A)\) can be \(A\), \(A^T\), or \(A^H\). Whether or not \(x\) and \(y\) are stored as row vectors, they will be interpreted as column vectors.

C++ API

void Gemv(Orientation orientation, T alpha, const Matrix<T> &A, const Matrix<T> &x, T beta, Matrix<T> &y)
void Gemv(Orientation orientation, T alpha, const AbstractDistMatrix<T> &A, const AbstractDistMatrix<T> &x, T beta, AbstractDistMatrix<T> &y)

C API

ElError ElGemv_i(ElOrientation orientation, ElInt alpha, ElConstMatrix_i A, ElConstMatrix_i x, ElInt beta, ElMatrix_i y)
ElError ElGemv_s(ElOrientation orientation, float alpha, ElConstMatrix_s A, ElConstMatrix_s x, float beta, ElMatrix_s y)
ElError ElGemv_d(ElOrientation orientation, double alpha, ElConstMatrix_d A, ElConstMatrix_d x, double beta, ElMatrix_d y)
ElError ElGemv_c(ElOrientation orientation, complex_float alpha, ElConstMatrix_c A, ElConstMatrix_c x, complex_float beta, ElMatrix_c y)
ElError ElGemv_z(ElOrientation orientation, complex_double alpha, ElConstMatrix_z A, ElConstMatrix_z x, complex_double beta, ElMatrix_z y)
ElError ElGemvDist_i(ElOrientation orientation, ElInt alpha, ElConstDistMatrix_i A, ElConstDistMatrix_i x, ElInt beta, ElDistMatrix_i y)
ElError ElGemvDist_s(ElOrientation orientation, float alpha, ElConstDistMatrix_s A, ElConstDistMatrix_s x, float beta, ElDistMatrix_s y)
ElError ElGemvDist_d(ElOrientation orientation, double alpha, ElConstDistMatrix_d A, ElConstDistMatrix_d x, double beta, ElDistMatrix_d y)
ElError ElGemvDist_c(ElOrientation orientation, complex_float alpha, ElConstDistMatrix_c A, ElConstDistMatrix_c x, complex_float beta, ElDistMatrix_c y)
ElError ElGemvDist_z(ElOrientation orientation, complex_double alpha, ElConstDistMatrix_z A, ElConstDistMatrix_z x, complex_double beta, ElDistMatrix_z y)