comparison scripts/sparse/nonzeros.m @ 18809:53af80da6781 stable

doc: Update documentation of sparse functions including seealso links. * data.cc (Fall, Fany): Use non-zero instead of nonzero. * data.cc (Fnnz, Fnzmax, Ffull): Rewrite docstrings, include more seealso links. * sparse.cc (Fsparse): Rewrite docstring to include example of "sum" behavior and "unique" behavior. Add more seealso links. * sparse.cc (Fspalloc): Rewrite docstring, include more seealso links. * spparms.cc (Fspparms): Add seealso links. * amd.cc (Famd): Use nonzero instead of "non zero". * nonzeros.m: Add seealso links. * spaugment.m: Rewrite docstring, include more seealso links. * spconvert.m: Rewrite docstring, include more seealso links. * speye.m: Rewrite docstring, include more seealso links. * spones.m: Add seealso links. * sprand.m: Rewrite docstring, include more seealso links. * sprandn.m: Rewrite docstring, include more seealso links. * sprandsym.m: Rewrite docstring, include more seealso links. * spy.m: Rewrite docstring, include more seealso links.
author Rik <rik@octave.org>
date Sun, 08 Jun 2014 16:32:12 -0700
parents d63878346099
children 9ac2357f19bc
comparison
equal deleted inserted replaced
18808:48828394487d 18809:53af80da6781
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} nonzeros (@var{s}) 20 ## @deftypefn {Function File} {} nonzeros (@var{s})
21 ## Return a vector of the non-zero values of the sparse matrix @var{s}. 21 ## Return a vector of the non-zero values of the sparse matrix @var{s}.
22 ## @seealso{find, nnz}
22 ## @end deftypefn 23 ## @end deftypefn
23 24
24 function t = nonzeros (s) 25 function t = nonzeros (s)
25 26
26 if (nargin != 1) 27 if (nargin != 1)