Bull’s Head

The Bull’s head matrix is a banded Toeplitz matrix with symbol

\[f(z) = 2i z^{-1} + z^2 + \frac{7}{10} z^3.\]

Please see L. Reichel and L. N. Trefethen’s Eigenvalues and pseudo-eigenvalues of Toeplitz matrices for more details.

C++ API

void BullsHead(Matrix<Complex<Real>> &A, Int n)
void BullsHead(AbstractDistMatrix<Complex<Real>> &A, Int n)

C API

ElError ElBullsHead_c(ElMatrix_c A, ElInt n)
ElError ElBullsHead_z(ElMatrix_z A, ElInt n)
ElError ElBullsHeadDist_c(ElDistMatrix_c A, ElInt n)
ElError ElBullsHeadDist_z(ElDistMatrix_z A, ElInt n)

Python API

BullsHead(A, n)