1function C = cs_droptol (A, tol)                                            %#ok
2%CS_DROPTOL remove small entries from a sparse matrix.
3%   C = cs_droptol(A,tol) removes entries from A of magnitude less than or
4%   equal to tol.  Same as A = A .* (abs (A) >= tol).
5%
6%   Example:
7%       Prob = ssget ('HB/arc130') ; A = Prob.A ;
8%       cspy (abs (A) >= 1e-10) ;
9%       C = cs_droptol (A, 1e-10) ;
10%       cspy (C) ;
11%
12%   See also: RELOP, ABS
13
14% Copyright 2006-2012, Timothy A. Davis, http://www.suitesparse.com
15
16error ('cs_droptol mexFunction not found') ;
17
18