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

◆ get_eigenvectors()

__kernel void stan::math::opencl_kernels::get_eigenvectors ( const __global double_d l,
const __global double_d d,
const __global double *  subdiag,
const __global double_d shifted_eigvals,
__global double_d l_plus,
__global double_d u_minus,
__global double_d temp,
__global double *  eigenvectors 
)

Calculates eigenvectors for (shifted) eigenvalues.

Parameters
lEach row is a subdiagonal of the matrix L from LDL decomposition for one eigenvalue.
dEach row is a diagonal of the matrix D from LDL decomposition for one eigenvalue.
subdiagSubdiagonal of the tridiagonal matrix.
shifted_eigvalsshifted eigenvalues
l_plusTemporary array of the same size as l
u_minusTemporary array of the same size as l
tempTemporary array of the same size as d
[out]eigenvectorsEach row is one eigenvector.

Definition at line 402 of file mrrr.hpp.