diff src/sparse.cc @ 11431:0d9640d755b1

Improve docstrings for all isXXX functions. Use 'return true' rather than 'return 1'. Improve the cross-referencing through seealso links.
author Rik <octave@nomad.inbox5.com>
date Fri, 31 Dec 2010 13:20:44 -0800
parents ffb2f1ef2097
children fd0a3ac60b0e
line wrap: on
line diff
--- a/src/sparse.cc
+++ b/src/sparse.cc
@@ -43,8 +43,9 @@
 
 DEFUN (issparse, args, ,
   "-*- texinfo -*-\n\
-@deftypefn {Loadable Function} {} issparse (@var{expr})\n\
-Return 1 if the value of the expression @var{expr} is a sparse matrix.\n\
+@deftypefn {Loadable Function} {} issparse (@var{x})\n\
+Return true if @var{x} is a sparse matrix.\n\
+@seealso{ismatrix}\n\
 @end deftypefn") 
 {
    if (args.length() != 1)