function y = sample_gaussian(bnode, bnet)
% SAMPLE_GAUSSIAN Draw a random sample from a Gaussian node.
% y = sample_gaussian(bnode, bnet)

dist = cond_dist_gaussian(bnode, bnet);
y = gsamp(dist.mu, dist.Sigma, 1)';
