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

« back to all changes in this revision

Viewing changes to CXSparse/MATLAB/Test/test14.m

  • 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:
20
20
    A = sparse (i,j,2*x-1) ;
21
21
    fprintf ('test14 m %3d n %3d nz %d\n', m, n, nnz (A)) ;
22
22
 
23
 
    for cmplex = 0:1
 
23
    for cmplex = 0:double(~ispc)
24
24
 
25
25
        if (cmplex)
26
26
            A = A + 1i * sparse (i,j,2*rand(size(x))-1) ;