Hermitian from EVD

Construct a Hermitian matrix from its spectral decomposition, Form

\[A := Z \Omega Z^H,\]

where \(\Omega=\text{diag}(w)\) and \(w\) is real.

C++ API

void HermitianFromEVD(UpperOrLower uplo, Matrix<F> &A, const Matrix<Base<F>> &w, const Matrix<F> &Z)
void HermitianFromEVD(UpperOrLower uplo, AbstractDistMatrix<F> &A, const AbstractDistMatrix<Base<F>> &w, const AbstractDistMatrix<F> &Z)

C API

ElError ElHermitianFromEVD_s(ElUpperOrLower uplo, ElMatrix_s A, ElConstMatrix_s w, ElConstMatrix_s Z)
ElError ElHermitianFromEVD_d(ElUpperOrLower uplo, ElMatrix_d A, ElConstMatrix_d w, ElConstMatrix_d Z)
ElError ElHermitianFromEVD_c(ElUpperOrLower uplo, ElMatrix_c A, ElConstMatrix_s w, ElConstMatrix_c Z)
ElError ElHermitianFromEVD_z(ElUpperOrLower uplo, ElMatrix_z A, ElConstMatrix_d w, ElConstMatrix_z Z)
ElError ElHermitianFromEVDDist_s(ElUpperOrLower uplo, ElDistMatrix_s A, ElConstDistMatrix_s w, ElConstDistMatrix_s Z)
ElError ElHermitianFromEVDDist_d(ElUpperOrLower uplo, ElDistMatrix_d A, ElConstDistMatrix_d w, ElConstDistMatrix_d Z)
ElError ElHermitianFromEVDDist_c(ElUpperOrLower uplo, ElDistMatrix_c A, ElConstDistMatrix_s w, ElConstDistMatrix_c Z)
ElError ElHermitianFromEVDDist_z(ElUpperOrLower uplo, ElDistMatrix_z A, ElConstDistMatrix_d w, ElConstDistMatrix_z Z)

Python API

HermitianFromEVD(uplo, A, w, Z)