~ubuntu-branches/ubuntu/raring/suitesparse/raring-proposed

« back to all changes in this revision

Viewing changes to CXSparse/MATLAB/Test/test23.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:
24
24
    d = rand (1) * 4 * max (m,n) / max (m*n,1) ;
25
25
    A = sprandn (m,n,d) ;
26
26
    % S = sprandn (m,m,d) + speye (m) ;
27
 
    if (rand ( ) > .5)
28
 
        A = A + 1i * sprand (A) ;
 
27
 
 
28
    if (~ispc)
 
29
        if (rand ( ) > .5)
 
30
            A = A + 1i * sprand (A) ;
 
31
        end
29
32
    end
30
33
 
31
34
    cs_dmspy (A) ;