From 2a88e49f9f320d5cb47329c47c3510f533e5f9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Wed, 22 Feb 2012 14:59:48 +0100 Subject: [PATCH] Cosmetic changes in texinfo header. Deleted trailing spaces. --- matlab/particle/resample.m | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/matlab/particle/resample.m b/matlab/particle/resample.m index bfba24b55..e853e40b4 100644 --- a/matlab/particle/resample.m +++ b/matlab/particle/resample.m @@ -1,12 +1,11 @@ -function indx = resample(weights,method) +function indx = resample(weights,method) % Resamples particles. - + %@info: %! @deftypefn {Function File} {@var{indx} =} resample (@var{weights}, @var{method}) %! @anchor{particle/resample} %! @sp 1 %! Resamples particles. -%! %! @sp 2 %! @strong{Inputs} %! @sp 1 @@ -25,10 +24,13 @@ function indx = resample(weights,method) %! @end table %! @sp 2 %! @strong{This function is called by:} +%! @sp 1 %! @ref{particle/sequantial_importance_particle_filter} %! @sp 2 %! @strong{This function calls:} +%! @sp 1 %! @ref{residual_resampling}, @ref{traditional_resampling} +%! @sp 2 %! @end deftypefn %@eod: @@ -50,13 +52,13 @@ function indx = resample(weights,method) % along with Dynare. If not, see . % AUTHOR(S) frederic DOT karame AT univ DASH evry DOT fr -% stephane DOT adjemian AT univ DASH lemans DOT fr +% stephane DOT adjemian AT univ DASH lemans DOT fr switch method case 'residual' indx = residual_resampling(weights); case 'traditional' indx = traditional_resampling(weights); - otherwise + otherwise error('particle::resample: Unknown method!') end \ No newline at end of file