Mercurial > octave
comparison scripts/statistics/movmad.m @ 28942:fc4bb4bd1d5e
maint: Use '##' as lead-in for full-line comments.
* condeig.m, mustBeMember.m, runge_kutta_interpolate.m, lsqnonneg.m,
pqpnonneg.m, sqp.m, pkg.m, fplot.m, isosurface.m, __gnuplot_draw_axes__.m,
profexport.m, bicgstab.m, factorial.m, movmad.m, movmax.m, movmean.m,
movmedian.m, movmin.m, movprod.m, movstd.m, movsum.m, movvar.m, fA.m, fB.m,
fC.m, one.m, two.m, df_vr.m, u_vr.m, myclass2.m, foo_subsref_subsasgn.m,
Blork.m, CPrecedenceTester1.m, Cork.m, display.m, display.m, get.m, set.m,
display.m, Sneetch.m, Snork.m, Spork.m, jit.tst, line-continue.tst,
mk_bc_overloads_expected.m, arg_nest.m, no_closure.m, persistent_nest.m,
recursive_nest.m, recursive_nest2.m, scope0.m, scope1.m, scope2.m, scope3.m,
script_nest.m, script_nest_2.m, script_nest_script.m, script_nest_script_2.m,
pkg.tst:
Use '##' as lead-in for full-line comments.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 15 Oct 2020 14:30:01 -0700 |
parents | 90fea9cc9caa |
children | 5394d688d456 |
comparison
equal
deleted
inserted
replaced
28941:c06fb493b18e | 28942:fc4bb4bd1d5e |
---|---|
138 | 138 |
139 endfunction | 139 endfunction |
140 | 140 |
141 | 141 |
142 ## FIXME: Need functional BIST tests | 142 ## FIXME: Need functional BIST tests |
143 # test for bug #55241 | 143 ## test for bug #55241 |
144 %!assert ([0.5; repmat(2/3,8,1); 0.5], movmad ((1:10).', 3)) | 144 %!assert ([0.5; repmat(2/3,8,1); 0.5], movmad ((1:10).', 3)) |
145 | 145 |
146 ## Test input validation | 146 ## Test input validation |
147 %!error <Invalid call> movmad () | 147 %!error <Invalid call> movmad () |
148 %!error <Invalid call> movmad (1) | 148 %!error <Invalid call> movmad (1) |