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

« back to all changes in this revision

Viewing changes to CXSparse_newfiles/MATLAB/Test/test20.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:
18
18
 
19
19
    n = fix (100 * rand (1)) ;
20
20
    A = rand (n) ;
21
 
    if (mod (trials, 2) == 0)
22
 
        A = A + 1i*rand(n) ;
 
21
 
 
22
    if (~ispc)
 
23
        if (mod (trials, 2) == 0)
 
24
            A = A + 1i*rand(n) ;
 
25
        end
23
26
    end
24
27
 
25
28
    A1 = A*A' + n*eye (n) ;