Mercurial > hg > octave-nkf
diff src/ov-cell.cc @ 3448:0fb75d95b14f
[project @ 2000-01-17 20:38:31 by jwe]
author | jwe |
---|---|
date | Mon, 17 Jan 2000 20:38:35 +0000 |
parents | 87721841efd7 |
children | d14c483b3c12 |
line wrap: on
line diff
--- a/src/ov-cell.cc +++ b/src/ov-cell.cc @@ -175,7 +175,11 @@ } DEFUN (iscell, args, , - "iscell (x): return nonzero if x is a cell array") + "-*- texinfo -*-\n\ +@deftypefn {Built-in Function} {} iscell (@var{x})\n\ +Return true if @var{x} is a cell array object. Otherwise, return\n\ +false.\n\ +@end deftypefn") { octave_value retval; @@ -188,9 +192,16 @@ } DEFUN (cell, args, , - "cell (N)\n\ -cell (M, N)\n\ -cell (size (A))") + "-*- texinfo -*-\n\ +@deftypefn {Built-in Function} {} cell (@var{x})\n\ +@deftypefnx {Built-in Function} {} cell (@var{n}, @var{m})\n\ +Create a new cell array object. If invoked with a single scalar\n\ +argument, @code{cell} returns a square cell array with the dimension\n\ +specified. If you supply two scalar arguments, @code{cell} takes\n\ +them to be the number of rows and columns. If given a vector with two\n\ +elements, @code{cell} uses the values of the elements as the number of\n\ +rows and columns, respectively.\n\ +@end deftypefn") { octave_value retval;