function s = support(X, v)

n = size(X, 1);
u = X*v';
s = sum(u == sum(v))/n;
