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