1
function test_randperms
2
%TEST_RANDPERMS test random permutations
7
% Copyright 2006-2007, Timothy A. Davis.
8
% http://www.cise.ufl.edu/research/sparse
13
m = fix (30 * rand (1)) ;
14
n = fix (30 * rand (1)) ;
47
if (norm (C-E,1) ~= 0)
51
P = sparse (1:m, p, 1) ;
52
Q = sparse (q, 1:n, 1) ;
55
if (norm (C-E,1) ~= 0)