Parter

An \(n \times n\) Parter matrix has entry \((i,j)\) set to

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

C++ API

void Parter(Matrix<F> &P, Int n)
void Parter(AbstractDistMatrix<F> &P, Int n)

C API

ElError ElParter_s(ElMatrix_s P, ElInt n)
ElError ElParter_d(ElMatrix_d P, ElInt n)
ElError ElParter_c(ElMatrix_c P, ElInt n)
ElError ElParter_z(ElMatrix_z P, ElInt n)
ElError ElParterDist_s(ElDistMatrix_s P, ElInt n)
ElError ElParterDist_d(ElDistMatrix_d P, ElInt n)
ElError ElParterDist_c(ElDistMatrix_c P, ElInt n)
ElError ElParterDist_z(ElDistMatrix_z P, ElInt n)

Python API

Parter(P, n)