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

« back to all changes in this revision

Viewing changes to CXSparse/MATLAB/CSparse/cs_sparse.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
function A = cs_sparse (i,j,x)                                              %#ok
 
2
%CS_SPARSE convert a triplet form into a sparse matrix.
 
3
%   A = cs_sparse(i,j,x) is identical to A = sparse(i,j,x), except that x must
 
4
%   be real, and the length of i, j, and x must be the same.
 
5
%
 
6
%   Example:
 
7
%       Prob = UFget ('HB/arc130') ; S = Prob.A ;
 
8
%       [i j x] = find (S) ;
 
9
%       A = cs_sparse (i,j,x) ;
 
10
%       S-A
 
11
%
 
12
%   See also FIND, SPARSE, SPCONVERT.
 
13
 
 
14
%   Copyright 2006-2007, Timothy A. Davis.
 
15
%   http://www.cise.ufl.edu/research/sparse
 
16
 
 
17
error ('cs_sparse mexFunction not found') ;