Egorov

Sets \(A\) to an \(n \times n\) matrix with the \((i,j)\) entry equal to

\[A(i,j) = \exp(i \phi(i,j)).\]

C++ API

void Egorov(Matrix<Complex<Real>> &A, std::function<Real(Int, Int)> phi, Int n, )
void Egorov(AbstractDistMatrix<Complex<Real>> &A, std::function<Real(Int, Int)> phi, Int n, )

C API

ElError ElEgorov_c(ElMatrix_c A, float (*phase)(ElInt,ElInt), ElInt n)
ElError ElEgorov_z(ElMatrix_z A, double (*phase)(ElInt,ElInt), ElInt n)
ElError ElEgorovDist_c(ElDistMatrix_c A, float (*phase)(ElInt,ElInt), ElInt n)
ElError ElEgorovDist_z(ElDistMatrix_z A, double (*phase)(ElInt,ElInt), ElInt n)

Python API

Egorov(A, phase, n)