~logan/ubuntu/trusty/suitesparse/4.2.1-3ubuntu1

« back to all changes in this revision

Viewing changes to CXSparse_newfiles/MATLAB/Test/test19.m

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere, Rafael Laboissiere, Ondrej Certik
  • Date: 2008-02-21 14:46:50 UTC
  • mfrom: (1.1.2 upstream) (5.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080221144650-tgeppgj0t7s759i8
Tags: 3.1.0-3
[ Rafael Laboissiere ]
* Upload to unstable

[ Ondrej Certik ]
* XS-DM-Upload-Allowed: yes field added
* Ondrej Certik added to uploaders

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) ;