~ubuntu-branches/ubuntu/hardy/suitesparse/hardy

« back to all changes in this revision

Viewing changes to CSparse/MATLAB/Test/cs_frand_mex.c

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2008-02-21 14:46:50 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20080221144650-rwcyowy7vo3bxjtx
Tags: upstream-3.1.0
ImportĀ upstreamĀ versionĀ 3.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * nonzero pattern, plus the identity matrix.
5
5
 * See also MATLAB/Demo/private/frand.m */
6
6
 
 
7
static
7
8
cs *cs_frand (int n, int nel, int s)
8
9
{
9
10
    int ss = s*s, nz = nel*ss, e, i, j, *P ;