stein_thinning.stein# Kernel matrix functions Functions kmat(integrand, n) Compute a Stein kernel matrix ksd(integrand, n) Compute a cumulative sequence of KSD values.