Skip to content

Generalized Eigenproblem where B is not positive definite #41

@abhijit-c

Description

@abhijit-c

Hello all,

In the last steps of the implementation of my paper, it asks by to solve a generalized eigenproblem for the smallest eigenvalue/eigenvector pair. This roughly looks like

\[
D^T W(x)D u(x) = \lambda C u(x)
\]

Without digressing into too many details \( D^t W(x) D \) has a good self adjoint structure, but C is not positive semidefinite. As such I cannot use igl's eigs function or Eigen's GeneralizedSelfAdjointEigenSolver. Eigen has a generic GeneralizedEigenSolver which accepts right hand sides like mine, but it seems like they have not implemented a way to get the eigenvectors yet from the decomposition.

Any pointers on what I should do? Try to implement my own GeneralizedEigenSolver or find some other library? This is a rather important final portion of the paper. If it helps here is the matrix C:

0 0 0 0 -2
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
-2 0 0 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions