Ger

General rank-one update: \(A := \alpha x y^H + A\). \(x\) and \(y\) are free to be stored as either row or column vectors, but they will be interpreted as column vectors.

C++ API

void Ger(T alpha, const Matrix<T> &x, const Matrix<T> &y, Matrix<T> &A)
void Ger(T alpha, const AbstractDistMatrix<T> &x, const AbstractDistMatrix<T> &y, AbstractDistMatrix<T> &A)

C API

ElError ElGer_i(ElInt alpha, ElConstMatrix_i x, ElConstMatrix_i y, ElMatrix_i A)
ElError ElGer_s(float alpha, ElConstMatrix_s x, ElConstMatrix_s y, ElMatrix_s A)
ElError ElGer_d(double alpha, ElConstMatrix_d x, ElConstMatrix_d y, ElMatrix_d A)
ElError ElGer_c(complex_float alpha, ElConstMatrix_c x, ElConstMatrix_c y, ElMatrix_c A)
ElError ElGer_z(complex_double alpha, ElConstMatrix_z x, ElConstMatrix_z y, ElMatrix_z A)
ElError ElGerDist_i(ElInt alpha, ElConstDistMatrix_i x, ElConstDistMatrix_i y, ElDistMatrix_i A)
ElError ElGerDist_s(float alpha, ElConstDistMatrix_s x, ElConstDistMatrix_s y, ElDistMatrix_s A)
ElError ElGerDist_d(double alpha, ElConstDistMatrix_d x, ElConstDistMatrix_d y, ElDistMatrix_d A)
ElError ElGerDist_c(complex_float alpha, ElConstDistMatrix_c x, ElConstDistMatrix_c y, ElDistMatrix_c A)
ElError ElGerDist_z(complex_double alpha, ElConstDistMatrix_z x, ElConstDistMatrix_z y, ElDistMatrix_z A)