Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Calculates eigenvalues and eigenvectors of a tridiagonal matrix T using MRRR algorithm.
If a subdiagonal element is close to zero compared to neighbors on diagonal, the problem can be split into smaller ones.
diagonal_cl | Diagonal of of T. | |
subdiagonal_cl | Subdiagonal of T. | |
[out] | eigenvalues_cl | Eigenvlues. |
[out] | eigenvectors_cl | Eigenvectors. |
split_threshold | Threshold for splitting the problem |