Lotkin

The \(n \times n\) Lotkin matrix is equal to the Hilbert matrix with its first row replaced with ones. Its inverse is analytically known and contains integer entries.

C++ API

void Lotkin(Matrix<F> &A, Int n)
void Lotkin(AbstractDistMatrix<F> &A, Int n)

C API

ElError ElLotkin_s(ElMatrix_s A, ElInt n)
ElError ElLotkin_d(ElMatrix_d A, ElInt n)
ElError ElLotkin_c(ElMatrix_c A, ElInt n)
ElError ElLotkin_z(ElMatrix_z A, ElInt n)
ElError ElLotkinDist_s(ElDistMatrix_s A, ElInt n)
ElError ElLotkinDist_d(ElDistMatrix_d A, ElInt n)
ElError ElLotkinDist_c(ElDistMatrix_c A, ElInt n)
ElError ElLotkinDist_z(ElDistMatrix_z A, ElInt n)

Python API

Lotkin(A, n)