Herk

Hermitian rank-K update: updates \(C := \alpha A A^H + \beta C\), or \(C := \alpha A^H A + \beta C\), depending upon whether orientation is set to NORMAL or ADJOINT, respectively. Only the triangle of \(C\) specified by the uplo parameter is modified.

Please see SetLocalTrrkBlocksize<T>() and LocalTrrkBlocksize<T>() in the Tuning parameters section for information on tuning the distributed Herk().

Note

For the best performance, A and C should both be in [MC,MR] distributions.

C++ API

void Herk(UpperOrLower uplo, Orientation orientation, T alpha, const Matrix<T> &A, T beta, Matrix<T> &C)
void Herk(UpperOrLower uplo, Orientation orientation, T alpha, const AbstractDistMatrix<T> &A, T beta, AbstractDistMatrix<T> &C)

C API

ElError ElHerk_c(ElUpperOrLower uplo, ElOrientation orientation, complex_float alpha, ElConstMatrix_c A, complex_float beta, ElMatrix_c C)
ElError ElHerk_z(ElUpperOrLower uplo, ElOrientation orientation, complex_double alpha, ElConstMatrix_z A, complex_double beta, ElMatrix_z C)
ElError ElHerkDist_c(ElUpperOrLower uplo, ElOrientation orientation, complex_float alpha, ElConstDistMatrix_c A, complex_float beta, ElDistMatrix_c C)
ElError ElHerkDist_z(ElUpperOrLower uplo, ElOrientation orientation, complex_double alpha, ElConstDistMatrix_z A, complex_double beta, ElDistMatrix_z C)

Python API

Herk(uplo, orient, alpha, A, beta, C)