view test/mex/mexnumtst.tst @ 31205:b0e90ca8e679 stable

quad2d: fix unintended complex conjugate return (bug #62972) quad2d: use .' instead of ' to avoid complex conjugate in q and qerr.
author Arun Giridhar <arungiridhar@gmail.com>
date Sun, 28 Aug 2022 12:21:17 -0400
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)