Eigen decomposition for asymmetric matrix

Hi all,

I have seen that Stan has function eigenvalues_sym(matrix A) to compute the eigenvalues of a symmetric matrix. There is a topic here in 2018.

I am asking whether Stan has a function to compute eigenvalues for non symmetric matrices now (2023)?

Or do you have any ideas for calculating them in other ways? I am sure that all eigenvalues are positive as I can get them using R (eigen).

Best regards,

Yes, starting in Stan version 2.30: 6.14 Linear algebra functions and solvers | Stan Functions Reference


Thank you Ward. I read the old version, so did not find the correct one. I will try the newest stan.

1 Like