Sparse uniformly distributed random matrix
R = sprand(S)
R = sprand(m,n,density)
R = sprand(m,n,density,rc)
R = sprand(m,n,density) is
n, sparse matrix
density*m*n uniformly distributed
nonzero entries (
0 <= density <= 1).
R = sprand(m,n,density,rc) also
has reciprocal condition number approximately equal to
constructed from a sum of matrices of rank one.
rc is a vector of length
lr <= min(m,n), then
lr singular values, all others are zero.
In this case,
R is generated by random plane rotations
applied to a diagonal matrix with the given singular values. It has
a great deal of topological and algebraic structure.