Coherence

The coherence of an \(m \times n\) matrix \(A\) can be defined as

\[\| \hat A^H \hat A - I \|_{\text{max}},\]

where \(\hat A\) is formed by normalizing each column of \(A\) to have a unit Euclidean norm.

C++ API

Base<F> Coherence(const Matrix<F> &A)
Base<F> Coherence(const ElementalMatrix<F> &A)

C API

ElError ElCoherence_s(ElConstMatrix_s A, float* coherence)
ElError ElCoherence_d(ElConstMatrix_d A, double* coherence)
ElError ElCoherence_c(ElConstMatrix_c A, float* coherence)
ElError ElCoherence_z(ElConstMatrix_z A, double* coherence)
ElError ElCoherence_s(ElConstDistMatrix_s A, float* coherence)
ElError ElCoherence_d(ElConstDistMatrix_d A, double* coherence)
ElError ElCoherence_c(ElConstDistMatrix_c A, float* coherence)
ElError ElCoherence_z(ElConstDistMatrix_z A, double* coherence)

Python API

Coherence(A)