function project_on_sample v = [] for i=1:length(Xii) v(i) = ptker2(Xii{i},x); end return