From: Felipe G. N. <f.n...@un...> - 2005-02-11 00:08:21
|
> Editing not allowed for 131.202.141.24 / 12599.gge.unb.ca: user, ip, > or network is blocked. > > Please contact octave-dev at lists.sourceforge.net, specifying your > IP, if you would like to contribute to this site Please, I'd like to contribute the following piece of code to http://wiki.octave.org/wiki.pl?TipsTricks function experience %!test %! experience_design_mat %! experience_obs_eqs %! assert (experience_design_mat == pi); %! assert (experience_obs_eqs == exp(1)); %! %! endfunction % this is a trick. %! % now we can declare functions to be used by the test above. %! %! function a = experience_design_mat %! a = pi; %! endfunction %! %! function b = experience_obs_eqs %! b = exp(1); %! % endfunction: don't add it here. Let test() do it. |