Computes the radial basis function (RBF) kernel for a distance vector
or matrix.
Arguments
- x
A numeric vector or matrix of distances.
- theta
A positive numeric scalar giving the length-scale parameter.
Value
A numeric vector or matrix with RBF kernel values.