view test/mex/mexnumtst.tst @ 30949:7d99816e9709 stable

ls.m: Improve wording in docstring (bug #62282).
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 21 Apr 2022 17:52:31 +0200
parents 1188addabaad
children
line wrap: on
line source

%!test
%! s = rand (3, 4, "single");
%! sc = s + i * rand (3, 4, "single");
%! d = rand (3, 4, "double");
%! dc = d + i * rand (3, 4, "double");
%!
%! [sx, scx, dx, dcx] = mexnumtst (s, sc, d, dc);
%! assert (s, sx)
%! assert (sc, scx)
%! assert (d, dx)
%! assert (dc, dcx)