Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Returns a squared exponential kernel.
T_x | type for each scalar |
T_sigma | type of parameter sigma |
T_l | type of parameter length scale |
x | std::vector of scalars that can be used in square distance. This function assumes each element of x is the same size. |
sigma | marginal standard deviation or magnitude |
length_scale | length scale |
std::domain_error | if sigma <= 0, l <= 0, or x is nan or infinite |
Definition at line 126 of file gp_exp_quad_cov.hpp.