Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ eigenvals_bisect()

void stan::math::opencl_kernels::eigenvals_bisect ( const __global double *  diagonal,
const __global double *  subdiagonal_squared,
double *  low_res,
double *  high_res,
const double  min_eigval,
const double  max_eigval,
const int  n,
const int  i 
)

Calculates i-th largest eigenvalue of tridiagonal matrix represented by a LDL decomposition using bisection.

Parameters
diagonalSubdiagonal of L.
subdiagonal_squaredDiagonal of D.
[out]low_resResulting low bounds on eigenvalues.
[out]high_resResulting high bounds on eigenvalues.
min_eigvalLower bound on all eigenvalues.
max_eigvalUpper bound on all eigenvalues.
nLength of D.
icalculate i-th eigenvalue

Definition at line 51 of file mrrr.hpp.