5164
|
1 ## Copyright (C) 2004 David Bateman & Andy Adler |
|
2 ## |
|
3 ## This program is free software; you can redistribute it and/or modify |
|
4 ## it under the terms of the GNU General Public License as published by |
|
5 ## the Free Software Foundation; either version 2 of the License, or |
|
6 ## (at your option) any later version. |
|
7 ## |
|
8 ## This program is distributed in the hope that it will be useful, |
|
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 ## GNU General Public License for more details. |
|
12 ## |
|
13 ## You should have received a copy of the GNU General Public License |
|
14 ## along with this program; if not, write to the Free Software |
5307
|
15 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
16 ## 02110-1301 USA |
5164
|
17 |
|
18 ## -*- texinfo -*- |
|
19 ## @deftypefn {Function File} {@var{y} =} sphcat (@var{a1}, @var{a2}, @dots{}, @var{aN}) |
|
20 ## Return the horizontal concatenation of sparse matrices. This function |
|
21 ## is obselete and @code{horzcat} should be used |
|
22 ## @end deftypefn |
|
23 ## @seealso {spvcat, vertcat, horzcat, cat} |
|
24 |
|
25 function y = sphcat (varargin) |
|
26 |
|
27 persistent sphcat_warned = false; |
|
28 |
|
29 if (!sphcat_warned) |
|
30 sphcat_warned = true; |
|
31 warning ("sphcat: This function is depreciated. Use horzcat instead"); |
|
32 endif |
|
33 |
|
34 y = horzcat (varargin{:}); |
|
35 endfunction |