~ubuntu-branches/ubuntu/natty/suitesparse/natty

« back to all changes in this revision

Viewing changes to CSparse/MATLAB/UFget/UFget_example.m

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2007-05-29 09:36:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529093629-zowquo0b7slkk6nc
Tags: 3.0.0-2
* suitesparse builds properly twice in a row
* Bug fix: "suitesparse - FTBFS: Broken build depens: libgfortran1-dev",
  thanks to Bastian Blank (Closes: #426349).
* Bug fix: "suitesparse_3.0.0-1: FTBFS: build-depends on
  libgfortran1-dev", thanks to Steve Langasek (Closes: #426354).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%UFget_example is a demo for UFget.
 
1
%UFGET_EXAMPLE a demo for UFget.
2
2
%   This example script gets the index file of the UF sparse matrix collection,
3
3
%   and then loads in all symmetric non-binary matrices, in increasing order of
4
4
%   number of rows in the matrix.
8
8
%
9
9
%   See also UFget, UFweb, UFgrep.
10
10
 
11
 
%   Copyright 2006, Tim Davis, University of Florida.
 
11
%   Copyright 2007, Tim Davis, University of Florida.
12
12
 
13
13
type UFget_example ;
14
14
 
20
20
for i = f
21
21
    fprintf ('Loading %s%s%s, please wait ...\n', ...
22
22
        index.Group {i}, filesep, index.Name {i}) ;
23
 
    Problem = UFget (i,index)
 
23
    Problem = UFget (i,index) ;
 
24
    disp (Problem) ;
24
25
    spy (Problem.A) ;
25
26
    title (sprintf ('%s:%s', Problem.name, Problem.title')) ;
26
27
    UFweb (i) ;