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

◆ tridiagonalization_v_step_3()

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

Third part in constructing vector v: v-=0.5*(v^T*u)*u, where u is the householder vector.

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

Definition at line 260 of file tridiagonalization.hpp.