Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Tridiagonalize a symmetric matrix using block Housholder algorithm.
A = Q * T
A | Input matrix | |
[out] | packed | Packed form of the tridiagonal matrix. Elements of the resulting symmetric tridiagonal matrix T are in the diagonal and first superdiagonal. Columns bellow diagonal contain householder vectors that can be used to construct orthogonal matrix Q. |
r | Block size. Affects only performance of the algorithm. Optimal value depends on the size of A and cache of the processor. For larger matrices or larger cache sizes a larger value is optimal. |
Definition at line 29 of file tridiagonalization.hpp.