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

◆ gp_matern52_cov()

__kernel void stan::math::opencl_kernels::gp_matern52_cov ( const __global double *  x,
__global double *  res,
const double  sigma_sq,
const double  root_5_inv_l,
const double  inv_l_sq_5_3,
const int  size,
const int  element_size 
)

GPU part of calculation of Matern 5/2 kernel.

Parameters
[in]xinput vector or matrix
[out]ressquared distances between elements of x
sigma_sqsquared standard deviation
root_5_inv_lsqrt(5.0) / length_scale
inv_l_sq_5_35.0 / 3.0 / square(length_scale)
sizenumber of elements in x
element_sizethe number of doubles that make one element of x

Definition at line 25 of file gp_matern52_cov.hpp.