Ris

Return the \(n \times n\) matrix with the \((i,j)\) entry (counting from zero) set to

\[A(i,j) = \frac{1}{2(n-i-j)-1}.\]

C++ API

void Ris(Matrix<F> &R, Int n)
void Ris(AbstractDistMatrix<F> &R, Int n)

C API

ElError ElRis_s(ElMatrix_s R, ElInt n)
ElError ElRis_d(ElMatrix_d R, ElInt n)
ElError ElRis_c(ElMatrix_c R, ElInt n)
ElError ElRis_z(ElMatrix_z R, ElInt n)
ElError ElRisDist_s(ElDistMatrix_s R, ElInt n)
ElError ElRisDist_d(ElDistMatrix_d R, ElInt n)
ElError ElRisDist_c(ElDistMatrix_c R, ElInt n)
ElError ElRisDist_z(ElDistMatrix_z R, ElInt n)

Python API

Ris(R, n)