Radial basis function kernel
rbf_kernel.RdComputes the radial basis function (RBF) kernel for a distance vector or matrix: $$k(d) = \exp\left(-\frac{d^2}{2\theta^2}\right).$$ This is the correlation form of the kernel (\(k(0) = 1\)); any global variance is applied separately.