ry_bing: Helper Function for Sampling a Bingham-distributed Vector
Description
C interface to perform a Gibbs update of y with invariant
distribution proportional to exp( sum(l*y^2) with respect to the
uniform measure on the sphere.
# NOT RUN {## The function is currently defined asfunction (y, l)
{
.C("ry_bing", y = as.double(y), l = as.double(l), n = as.integer(length(y)))$y
}
# }