1function A = cs_frand (n,nel,s)                                             %#ok
2%CS_FRAND generate a random finite-element matrix
3% A = cs_frand (n,nel,s) creates an n-by-n sparse matrix consisting of nel
4% finite elements, each of which are of size s-by-s with random symmetric
5% nonzero pattern, plus the identity matrix.
6%
7% Example
8%   A = cs_frand (100, 100, 3) ;
9% See also cs_demo.
10
11% Copyright 2006-2012, Timothy A. Davis, http://www.suitesparse.com
12
13error ('cs_frand mexFunction not found') ;
14
15