Mercurial > hg > octave-nkf
diff doc/interpreter/func.txi @ 4029:2cc57b6169cf
[project @ 2002-08-09 07:36:15 by jwe]
author | jwe |
---|---|
date | Fri, 09 Aug 2002 07:38:55 +0000 |
parents | 735549d1148e |
children | aae05d51353c |
line wrap: on
line diff
--- a/doc/interpreter/func.txi +++ b/doc/interpreter/func.txi @@ -147,7 +147,7 @@ @example @group function retval = avg (v) - if (is_vector (v)) + if (isvector (v)) retval = sum (v) / length (v); endif endfunction @@ -177,7 +177,7 @@ @group function retval = avg (v) retval = 0; - if (is_vector (v)) + if (isvector (v)) retval = sum (v) / length (v); else error ("avg: expecting vector argument"); @@ -203,7 +203,7 @@ if (nargin != 1) usage ("avg (vector)"); endif - if (is_vector (v)) + if (isvector (v)) retval = sum (v) / length (v); else error ("avg: expecting vector argument"); @@ -917,7 +917,7 @@ @item general Miscellaneous matrix manipulations, like @code{flipud}, @code{rot90}, and @code{triu}, as well as other basic functions, like -@code{is_matrix}, @code{nargchk}, etc. +@code{ismatrix}, @code{nargchk}, etc. @item image Image processing tools. These functions require the X Window System.