![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
| __kernel void stan::math::opencl_kernels::gp_exponential_cov | ( | const __global double * | x, | 
| __global double * | res, | ||
| const double | sigma_sq, | ||
| const double | neg_inv_l, | ||
| const int | size, | ||
| const int | element_size | ||
| ) | 
GPU part of calculation of Matern exponential kernel.
| [in] | x | input vector or matrix | 
| [out] | res | squared distances between elements of x | 
| sigma_sq | squared standard deviation | |
| neg_inv_l | -1.0 / length_scale | |
| size | number of elements in x | |
| element_size | the number of doubles that make one element of x | 
Definition at line 24 of file gp_exponential_cov.hpp.