Create distributed sparse array of uniformly distributed pseudo-random values
DS = distributed.sprand(m,n,density)
DS = distributed.sprand(m,n,density)
creates
an m
-by-n
sparse distributed
array with approximately density*m*n
uniformly
distributed nonzero double entries.
Create a 1000-by-1000 sparse distributed double array DS
with
approximately 1000 nonzeros.
DS = distributed.sprand(1000,1000,0.001);
codistributed.sprand
| distributed.speye
| distributed.sprandn
| rand
| randn
| sparse
| sprand