Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Calculates Sturm count of a LDL decomposition of a tridiagonal matrix - number of eigenvalues larger or equal to shift.
Uses stqds - calculation of shifted LDL decomposition algorithm and counts number of positive elements in D.
l | Subdiagonal of L. |
d | Diagonal of D. |
shift | Shift. |