Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Finds a good value for shift of the initial LDL factorization T - shift * I = L * D * L^T.
diagonal | Diagonal of T. |
subdiagonal | Subdiagonal of T. |
l0 | Subdiagonal of L. |
d0 | Diagonal of D. |
min_eigval | Lower bound on eigenvalues of T. |
max_eigval | High bound on eigenvalues of T |
max_ele_growth | Maximum desired element growth. |