math icon indicating copy to clipboard operation
math copied to clipboard

Eigenvalues for non-symmetric matrix

Open nikunj410 opened this issue 2 years ago • 2 comments

I was wondering if Stan developers are working on including a function to calculate eigenvectors and eigenvalues for a non-symmetric matrix. I realize that this feature exists for a symmetric matrix with real eigenvalues. I am assuming that since the support for complex vectors and matrices is going to be released in version 2.30, complex eigenvalue for a non-symmetric matrix should soon follow?

nikunj410 avatar May 10 '22 17:05 nikunj410

This has been implemented for real-valued matrices (see https://github.com/stan-dev/stanc3/pull/1192), but is still needed for when the input matrix is itself complex

WardBrian avatar May 10 '22 19:05 WardBrian

Yes, @nikunj410, we should have general complex eigendecomposition in either the next release (2.30) or the one after. We just finished adding 1D and 2D FFTs and inverses for 2.30 this week and general eigendecomposition is next.

bob-carpenter avatar May 10 '22 19:05 bob-carpenter