1function Problem = UFget (matrix, index)
2%UFGET former interface to the UF (now SuiteSparse) Matrix Collection
3% This function works but is deprecated.  Use ssget instead.
4
5% Copyright 2017-2019, Timothy A. Davis, http://www.suitesparse.com
6
7warning ('UFget:deprecated', 'UFget is deprecated; use ssget instead') ;
8if (nargin == 0)
9    Problem = ssget ;
10elseif (nargin == 1)
11    Problem = ssget (matrix) ;
12elseif (nargin == 2)
13    Problem = ssget (matrix, index) ;
14else
15    error ('usage: Problem = ssget (matrix, index)') ;
16end
17
18