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

◆ tridiagonalization_householder()

__kernel void stan::math::opencl_kernels::tridiagonalization_householder ( __global double *  P,
__global double *  V,
__global double *  q_glob,
const int  P_rows,
const int  V_rows,
const int  j,
const int  k 
)

Calculates householder vector and first element of the vector v.

Must be run with 1 workgroup of LOCAL_SIZE_ threads.

Parameters
[in,out]Ppacked matrix being constructed
[in,out]Vmatrix V
[out]q_globq
P_rowsNumber of rows of the packed matrix
V_rowsNumber of rows of the matrix V
jStart column of the block to work on
kIndex of the householder vector in the block to create

Definition at line 27 of file tridiagonalization.hpp.