Stan Math Library
5.0.0
Automatic Differentiation
|
__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.
l | Each row is a subdiagonal of the matrix L from LDL decomposition for one eigenvalue. | |
d | Each row is a diagonal of the matrix D from LDL decomposition for one eigenvalue. | |
subdiag | Subdiagonal of the tridiagonal matrix. | |
shifted_eigvals | shifted eigenvalues | |
l_plus | Temporary array of the same size as l | |
u_minus | Temporary array of the same size as l | |
temp | Temporary array of the same size as d | |
[out] | eigenvectors | Each row is one eigenvector. |