Given a symmetric matrix A
and a positive definite matrix B
, we can find the eigenvalues and generalized eigenvectors with scipy's scipy.linalg.eigh
, or matlab's eig
.
Is there a correspondingly-straightforward way to do the reverse?
For example, how can I generate a pair of symmetric/positive definite matrices such that the generalized eigenvector associated with the largest magnitude eigenvalue is a particular vector, v
?