Commit ae558842 authored by Frédéric Karamé's avatar Frédéric Karamé
Browse files

factorization of the Neff routine

parent 25179aba
function n = neff(w)
% Evaluates the criterion for resampling
n = dot(w,w);
\ No newline at end of file
......@@ -170,9 +170,4 @@ for t=1:sample_size
end
end
LIK = -sum(lik(start:end));
function n = neff(w)
n = dot(w,w);
\ No newline at end of file
LIK = -sum(lik(start:end));
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment