Skip to content

Inaccurate eigenvectors with dstedc #351

Open
@caliarim

Description

@caliarim

Dear all,

I think dstedc produces inaccurate eigenvectors for a specific tridiagonal symmetric matrix. In order to show it, I assembled the attached test. It computes eigenpairs of the Jacobi matrix related to Gauss-Hermite quadrature formulas (Golub-Welsch algorithm). Then, it applies the quadrature formula to int_{-infty}^{infty} x^34 * exp(-x^2) dx. The quadrature formula should be exact for 18 or more points. It is numerically exact if the eigenpairs are computed with dsteqr. But it diverges (as the number of points increases) with dstedc. I tested lapack 3.7.1.
tsteig.f.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions