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

« back to all changes in this revision

Viewing changes to CXSparse_newfiles/MATLAB/Test/test19.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:
25
25
    A = sprandn (m,n,d) ;
26
26
    S = sprandn (m,m,d) + speye (m) ;
27
27
 
28
 
    if (rand ( ) > .5)
29
 
        A = A + 1i * sprand (A) ;
30
 
    end
31
 
 
32
 
    if (rand ( ) > .5)
33
 
        S = S + 1i * sprand (S) ;
 
28
    if (~ispc)
 
29
        if (rand ( ) > .5)
 
30
            A = A + 1i * sprand (A) ;
 
31
        end
 
32
        if (rand ( ) > .5)
 
33
            S = S + 1i * sprand (S) ;
 
34
        end
34
35
    end
35
36
 
36
37
    subplot (2,3,1) ;