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

◆ gp_matern52_cov() [2/6]

template<typename T1 , typename T2 , typename T3 , typename T4 , require_all_kernel_expressions_and_none_scalar_t< T1, T2 > * = nullptr, require_all_arithmetic_t< T3, T4 > * = nullptr>
matrix_cl< return_type_t< T1, T2, T3, T4 > > stan::math::gp_matern52_cov ( const T1 &  x,
const T2 &  y,
const T3  sigma,
const T4  length_scale 
)
inline

Matern 5/2 kernel on the GPU.

This function is for the cross covariance matrix needed to compute the posterior predictive density.

Template Parameters
T1Type of the first matrix
T2Type of the second matrix
T3Type of sigma
T4Type of length scale
Parameters
xfirst input vector or matrix
ysecond input vector or matrix
sigmastandard deviation
length_scalelength scale
Returns
Matern 5/2 covariance matrix

Definition at line 68 of file gp_matern52_cov.hpp.