1function 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 = ssget ('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-2012, Timothy A. Davis, http://www.suitesparse.com 15 16error ('cs_sparse mexFunction not found') ; 17