Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Returns a squared exponential kernel.
T_x | type of elements in the vector |
x | std::vector input that can be used in square distance Assumes each element of x is the same size |
sigma | standard deviation |
length_scale | length scale |
std::domain_error | if sigma <= 0, l <= 0, or x is nan or infinite |
Definition at line 34 of file gp_exp_quad_cov.hpp.