Mercurial > hg > octave-nkf
comparison scripts/sparse/spones.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 | eb63fbe60fab |
children | 16f53d29049f |
comparison
equal
deleted
inserted
replaced
9044:656ad518f385 | 9051:1bf0ce0930be |
---|---|
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {@var{y} =} spones (@var{x}) | 20 ## @deftypefn {Function File} {@var{y} =} spones (@var{x}) |
21 ## Replace the non-zero entries of @var{x} with ones. This creates a | 21 ## Replace the non-zero entries of @var{x} with ones. This creates a |
22 ## sparse matrix with the same structure as @var{x}. | 22 ## sparse matrix with the same structure as @var{x}. |
23 ## @end deftypefn | 23 ## @end deftypefn |
24 | 24 |
25 function s = spones (s) | 25 function s = spones (s) |
26 | 26 |