Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Calculates eigenvalues and eigenvectors of a irreducible tridiagonal matrix T using multiple relatively robust representations (MRRR) algorithm.
Use tridiagonal_eigensolver
if any subdiagonal element might be (very close to) zero.
diagonal | Diagonal of of T. | |
subdiagonal | Subdiagonal of T. | |
[out] | eigenvalues | Eigenvlues. |
[out] | eigenvectors | Eigenvectors. |
min_rel_sep | Minimal relative separation of eigenvalues before computing eigenvectors. | |
maximum_ele_growth | Maximal desired element growth of LDL decompositions. |