-
Notifications
You must be signed in to change notification settings - Fork 13
Description
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 |