Stan Math Library
5.0.0
Automatic Differentiation
|
__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.
[in,out] | P | packed matrix being constructed |
[in,out] | V | matrix V |
[out] | q | q |
P_rows | Number of rows of the packed matrix | |
V_rows | Number of rows of the matrix V | |
k | Index of the householder vector in the block to create | |
j | Start column of the block to work on |
Definition at line 260 of file tridiagonalization.hpp.