Mercurial > hg > octave-lyh
annotate scripts/sparse/spvcat.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | a1dbe9d80eee |
children | 16f53d29049f |
rev | line source |
---|---|
7017 | 1 ## Copyright (C) 2004, 2005, 2006, 2007 David Bateman & Andy Adler |
5164 | 2 ## |
7016 | 3 ## This file is part of Octave. |
5164 | 4 ## |
7016 | 5 ## Octave is free software; you can redistribute it and/or modify it |
6 ## under the terms of the GNU General Public License as published by | |
7 ## the Free Software Foundation; either version 3 of the License, or (at | |
8 ## your option) any later version. | |
9 ## | |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
5164 | 14 ## |
15 ## You should have received a copy of the GNU General Public License | |
7016 | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | |
5164 | 18 |
19 ## -*- texinfo -*- | |
20 ## @deftypefn {Function File} {@var{y} =} spvcat (@var{a1}, @var{a2}, @dots{}, @var{aN}) | |
9051
1bf0ce0930be
Grammar check TexInfo in all .m files
Rik <rdrider0-list@yahoo.com>
parents:
7017
diff
changeset
|
21 ## Return the vertical concatenation of sparse matrices. This function |
5164 | 22 ## is obselete and @code{vertcat} should be used |
5642 | 23 ## @seealso{sphcat, vertcat, horzcat, cat} |
5164 | 24 ## @end deftypefn |
25 | |
26 function y = spvcat (varargin) | |
27 | |
28 persistent spvcat_warned = false; | |
29 | |
6498 | 30 if (! spvcat_warned) |
5164 | 31 spvcat_warned = true; |
32 warning ("spvcat: This function is depreciated. Use vertcat instead"); | |
33 endif | |
34 | |
35 y = vertcat (varargin{:}); | |
36 endfunction |