Syr

Symmetric rank-one update: implicitly performs \(A := \alpha x x^T + A\), where only the triangle of \(A\) specified by uplo is updated.

C++ API

void Syr(UpperOrLower uplo, T alpha, const Matrix<T> &x, Matrix<T> &A, bool conjugate = false)
void Syr(UpperOrLower uplo, T alpha, const AbstractDistMatrix<T> &x, AbstractDistMatrix<T> &A, bool conjugate = false)

C API

ElError ElSyr_i(ElUpperOrLower uplo, ElInt alpha, ElConstMatrix_i x, ElMatrix_i A)
ElError ElSyr_s(ElUpperOrLower uplo, float alpha, ElConstMatrix_s x, ElMatrix_s A)
ElError ElSyr_d(ElUpperOrLower uplo, double alpha, ElConstMatrix_d x, ElMatrix_d A)
ElError ElSyr_c(ElUpperOrLower uplo, complex_float alpha, ElConstMatrix_c x, ElMatrix_c A)
ElError ElSyr_z(ElUpperOrLower uplo, complex_double alpha, ElConstMatrix_z x, ElMatrix_z A)
ElError ElSyrDist_i(ElUpperOrLower uplo, ElInt alpha, ElConstDistMatrix_i x, ElDistMatrix_i A)
ElError ElSyrDist_s(ElUpperOrLower uplo, float alpha, ElConstDistMatrix_s x, ElDistMatrix_s A)
ElError ElSyrDist_d(ElUpperOrLower uplo, double alpha, ElConstDistMatrix_d x, ElDistMatrix_d A)
ElError ElSyrDist_c(ElUpperOrLower uplo, complex_float alpha, ElConstDistMatrix_c x, ElDistMatrix_c A)
ElError ElSyrDist_z(ElUpperOrLower uplo, complex_double alpha, ElConstDistMatrix_z x, ElDistMatrix_z A)